Remove special characters and accents from text

Paste text and get it back with only letters, digits and spaces. Accented letters turn into plain ones, so Crème brûlée becomes Creme brulee, and the keep list saves characters such as @ or the hyphen. Nothing you paste leaves this tab.

0 letters converted · 0 characters removed · 0 characters
Options
Special characters that should stay, such as @ and . for email addresses. Spaces between them are ignored.

What counts as a special character

Here a special character is anything that is not a letter, a digit or white space: punctuation such as . , ! ? ; : and quotes, symbols such as @ # $ % & * + = < > | ~ ^, brackets, dashes, emoji, and invisible characters such as the zero width space. Letters from every script count as letters, so Cyrillic, Greek or Arabic words stay unless Only a to z and 0 to 9 is on.

The test uses the character categories from the Unicode Character Database rather than a fixed list of symbols, so it works the same for any language. Characters in the keep list are never removed: add @ and . to keep email addresses whole, or the hyphen to keep dates like 2026-12-01.

Removed characters leave nothing behind by default, so e-mail becomes email. Turn on Put a space in their place when the symbols separate words, as in one/two/three. Collapse spaces then tidies the double spaces that removing a dash or an emoji leaves between words.

How accents and diacritics are removed

Each letter is split into its base letter and its accent marks with Unicode compatibility decomposition (NFKD), and the marks are dropped: é becomes e, ñ becomes n, ç becomes c and ş becomes s. The same step turns ligatures and full-width letters into plain ones, so fi becomes fi, A becomes A and a superscript ² becomes 2.

Some letters have no accent to take off, because Unicode does not build them from a base letter: the Turkish dotless ı, ß, æ, ø, ł, đ and þ. They get a fixed replacement: i, ss, ae, o, l, d and th. German ä, ö and ü become a, o and u, or ae, oe and ue with the German option.

For URLs, the slug generator uses the same letter conversion and joins the words with hyphens. For Turkish text, the Turkish version of this page also repairs garbled letters such as ü and ı.

Removing special characters in Excel, JavaScript and Python

The same cleanup as a formula or one line of code, for text that is already in a spreadsheet or a program.

  • Excel

    • In Excel for Microsoft 365 and Excel for the web, =REGEXREPLACE(A2,"[^A-Za-z0-9 ]","") keeps only English letters, digits and spaces. Accented letters are removed rather than converted, so é disappears instead of becoming e.
    • In older versions, =SUBSTITUTE(A2,"#","") removes one character at a time; nest one SUBSTITUTE inside another for several.

    Sources: REGEXREPLACE function, SUBSTITUTE function

  • JavaScript

    • text.replace(/ı/g, "i").normalize("NFD").replace(/\p{M}/gu, "").replace(/[^\p{L}\p{N}\s]/gu, "") removes accents, then everything except letters, digits and white space.
    • The first replace is needed because ı has no accent to strip: without it, Işık becomes Isık.

    Sources: MDN: String.prototype.normalize()

  • Python

    • re.sub(r"[^\w\s]", "", "".join(ch for ch in unicodedata.normalize("NFD", text.replace("ı", "i")) if not unicodedata.combining(ch))) does the same with the re and unicodedata modules.
    • Python's \w also matches the underscore, so underscores stay.

    Sources: Python docs: unicodedata

Each line was run and checked against the vendor's documentation on 1 December 2026.

Questions

How do I remove special characters from text?

Paste the text into the first box. Punctuation, symbols and emoji are removed as you type, and Copy text puts the result on your clipboard. Letters, digits and spaces stay, plus any characters you add to Characters to keep.

How do I remove accents but keep the punctuation?

Leave Remove accents on and turn off Remove special characters. Crème brûlée, s'il vous plaît! then becomes Creme brulee, s'il vous plait! with its commas and apostrophes in place.

How do I remove punctuation but keep accented letters?

Turn off Remove accents and leave Remove special characters on. Commas, full stops, quotes and brackets go, together with symbols and emoji, while é and ü stay. To keep some punctuation, such as the full stop or the hyphen, type it into Characters to keep.

Does it work with Turkish letters?

Yes. ç, ğ, ö, ş and ü become c, g, o, s and u, İ becomes I and ı becomes i. Many accent removers only strip marks and leave ı as it is, because it has no mark to strip. The Turkish page uses the same engine and can also repair garbled Turkish text.

How do I remove special characters in Excel?

In Excel for Microsoft 365, =REGEXREPLACE(A2,"[^A-Za-z0-9 ]","") removes everything except English letters, digits and spaces. It deletes accented letters instead of converting them, so for text with accents, clean it here and paste it back.

Is the text I paste uploaded or saved?

No. The cleaning runs in JavaScript inside this tab, and the page never sends or stores your text. It only remembers the options and the keep list, in this browser. Page views are counted with Cloudflare Web Analytics, which never sees what you type.