Skip to content
TextArray
100% local

Remove non-ASCII characters

Strip every character outside plain ASCII, optionally transliterating accents to their closest letters first.

Input
Output

Remove non-ASCII characters

Remove non-ASCII characters keeps only the printable ASCII range — the letters, digits, spaces and punctuation on a standard US keyboard — and deletes everything else: accented letters, emoji, CJK characters, curly quotes, invisible spaces and control codes. It is the quick fix when a legacy system, a database column, a filename or an old protocol accepts only plain ASCII and chokes on anything richer.

By default "Transliterate first" is on, so the tool does the smart thing before deleting: it strips diacritics so é becomes e and č becomes c, expands ß to ss, æ to ae and ø to o, and converts typographic punctuation — curly quotes to straight ones, en and em dashes to hyphens, the ellipsis to three dots, a non-breaking space to a normal space. Only what still has no ASCII equivalent, such as emoji or non-Latin scripts, is then removed. Turn transliteration off for a strict pass that deletes every accented letter outright.

"Keep line breaks" and "Keep tabs" preserve your text's structure; switch them off to collapse everything onto one line or drop tabs. Line endings are normalized to a single newline either way. Turn on "List removed characters" and the tool appends a summary under the result: each distinct removed character with its Unicode code point and a count, so you can see exactly what was taken out — invisible characters are shown by code point like U+200B. The live tally reports how many characters were removed.

Everything runs locally in your browser. Your text is never uploaded, logged or stored anywhere.

FAQ

What counts as ASCII here?
The printable range from space (U+0020) to tilde (U+007E) — English letters, digits, common punctuation and the space. Tabs and newlines are kept separately through their own options; everything else is removed.
What does "Transliterate first" do?
Before removing anything it converts accented letters to their base letter (é→e), expands ß→ss, æ→ae and ø→o, and maps curly quotes, dashes and the ellipsis to plain ASCII. Only characters with no ASCII equivalent, like emoji, are then deleted.
How do I see exactly what was removed?
Turn on "List removed characters". The tool adds a section listing each distinct removed character with its code point and count. Invisible characters appear as their code point, such as U+00A0, so you can identify them.
What happens to line breaks and tabs?
They are kept by default and can be dropped with their own options. Line endings are always normalized to a single newline, so mixed Windows and Unix breaks come out consistent.
Is my text uploaded anywhere?
No. The whole conversion runs in your browser and your text never leaves your device.