Zero-Width Character Remover
Remove zero-width spaces, joiners, byte-order marks and other invisible characters that break search and copy-paste.
What this page does
Text copied from a web page or a PDF can carry characters a reader cannot see; the page removes the zero-width family and leaves everything visible in place.
How to use it
Paste or type the text and press Run. The result appears beside the form. With "zero\u{200b}width\u{200d}text\u{feff} here", the page gives:
zerowidthtext here
The rule it applies
The zero-width space, non-joiner and joiner, the word joiner, the byte-order mark and the Mongolian vowel separator are removed. No visible character is changed.
Every visible character, including ordinary spaces and punctuation, is copied through unchanged. Every character is read in your browser: nothing is uploaded and nothing is stored.
Text copied from a web page or a PDF can carry characters a reader cannot see; the page removes the zero-width family and leaves everything visible in place.
The rule this page applies: The zero-width space, non-joiner and joiner, the word joiner, the byte-order mark and the Mongolian vowel separator are removed. No visible character is changed.
Worked example: "zerowidthtext here" gives the output recorded in the example below, character for character.
How to use the Zero-Width Character Remover
Paste or type the text into the box and press Run. The result appears beside the form, and pressing Run again re-reads whatever is in the box.
This page has nothing to configure: it reads the text and applies the rule below. zerowidthtext here
The rule this page applies
The zero-width space, non-joiner and joiner, the word joiner, the byte-order mark and the Mongolian vowel separator are removed. No visible character is changed.
Every visible character, including ordinary spaces and punctuation, is copied through unchanged.
What to Expect
Best for
- Fixing a search that should match but does not
- Cleaning text pasted from a PDF
Not ideal for
- Soft hyphens, which are visible cues and are not removed
- Binary data, which is not text
What this tool keeps
- The text exactly as you pasted it
- The same answer on every run
- Nothing sent, stored or logged
What may need cleanup
- A marker such as [email] or [url] that you want spelled differently
- Spacing carried over from the text you pasted
Common errors
- An all-whitespace input is refused, because there is nothing to clean.
- An empty box, which the page refuses rather than printing a blank result
Example use cases
- Repairing a pasted product code
- Cleaning a CSV field
Sample input
zerowidthtext here
Sample output
zerowidthtext here
Who this is for
- data analysts
- support teams
Frequently asked questions
What rule does this page apply?
The zero-width space, non-joiner and joiner, the word joiner, the byte-order mark and the Mongolian vowel separator are removed. No visible character is changed.
What input does it refuse?
An all-whitespace input is refused, because there is nothing to clean.
What is left unchanged?
Every visible character, including ordinary spaces and punctuation, is copied through unchanged.
Is anything uploaded?
No. The text is read by JavaScript in this page and nothing is posted, stored or logged.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.