Invisible Character Remover
Remove every Unicode format character and control character, list the code points that were removed, and return the clean text.
What this page does
Invisible characters are not one family: zero-width spaces, joiners, bidirectional overrides, soft hyphens and stray control bytes all print as nothing and all break different things. This page removes every Unicode format character (category Cf) plus the control characters that print nothing, and names each code point it removed with its count.
How to use it
Paste or type the text and press Run. The result appears beside the form. With "a\u{200b}b\u{ad}c\u{2060}d", the page gives:
Removed: 3 characters
U+200B ZERO WIDTH SPACE ×1
U+00AD SOFT HYPHEN ×1
U+2060 WORD JOINER ×1
Basis: every Unicode format character, plus control characters other than tab, newline and carriage return
Cleaned text:
abcd
The rule it applies
Every character in Unicode category Cf is removed, along with C0 and C1 control characters other than tab, carriage return and newline; the report lists each distinct removed code point with its official name and how many times it occurred.
All visible text, spaces, tabs and line breaks are unchanged, and the report is a separate block: turn it off to get the cleaned text on its own. Every character is read in your browser: nothing is uploaded and nothing is stored.
Invisible characters are not one family: zero-width spaces, joiners, bidirectional overrides, soft hyphens and stray control bytes all print as nothing and all break different things. This page removes every Unicode format character (category Cf) plus the control characters that print nothing, and names each code point it removed with its count.
The rule this page applies: Every character in Unicode category Cf is removed, along with C0 and C1 control characters other than tab, carriage return and newline; the report lists each distinct removed code point with its official name and how many times it occurred.
Worked example: "abcd" with the default controls gives the output recorded in the example below, character for character.
How to use the Invisible Character Remover
Paste or type the text into the box, set List the removed code points, then press Run. The page re-reads whatever is in the box and prints the rule it applied.
Worked example: with "abcd" the page prints the output in the What to Expect block below, and running it again prints the same bytes.
The rule this page applies
Every character in Unicode category Cf is removed, along with C0 and C1 control characters other than tab, carriage return and newline; the report lists each distinct removed code point with its official name and how many times it occurred.
All visible text, spaces, tabs and line breaks are unchanged, and the report is a separate block: turn it off to get the cleaned text on its own.
What to Expect
Best for
- Cleaning text that will not compare equal to its copy
- Finding out which invisible character is present
Not ideal for
- Emoji sequences, whose joiners are meaningful and are removed here
- Accented letters built from combining marks, which are not format characters and stay
What this tool keeps
- Your text, read in this tab and nowhere else
- The same answer on every run
- Nothing sent, stored or logged
What may need cleanup
- Your own wording, which the page never composes for you
- Spacing carried over from the text you pasted
Common errors
- A text with no removable character is refused rather than returning the input, because a silent no-op looks like a successful clean.
- An empty box, which the page refuses rather than printing a blank result
Example use cases
- Fixing a string that fails an equality check
- Cleaning pasted text before a commit
Sample input
abcd
Sample output
Removed: 3 characters U+200B ZERO WIDTH SPACE ×1 U+00AD SOFT HYPHEN ×1 U+2060 WORD JOINER ×1 Basis: every Unicode format character, plus control characters other than tab, newline and carriage return Cleaned text: abcd
Who this is for
- developers
- data analysts
Frequently asked questions
What rule does this page apply?
Every character in Unicode category Cf is removed, along with C0 and C1 control characters other than tab, carriage return and newline; the report lists each distinct removed code point with its official name and how many times it occurred.
What input does it refuse?
A text with no removable character is refused rather than returning the input, because a silent no-op looks like a successful clean.
What is left unchanged?
All visible text, spaces, tabs and line breaks are unchanged, and the report is a separate block: turn it off to get the cleaned text on its own.
Is anything uploaded?
No. The text is read by JavaScript in this page and nothing is posted, stored or logged.
Which characters are removed?
Every Unicode format character (category Cf), which includes zero-width spaces and joiners, bidirectional marks and overrides, the soft hyphen, the byte-order mark and the word joiner, plus control characters other than tab, carriage return and newline.
Will it break an emoji?
It can. A family emoji is joined with U+200D, which is a format character, so removing it separates the people. Turn the page off for text whose joiners carry meaning.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.