By Debmedia Technologies LLP · Kolkata, India · Updated
What Is It and When Do You Need It?
Hidden characters are invisible but they do real damage. They make equal strings compare as different, break code and spoil search.
Paste the text to see how many hidden characters it holds and to get a clean copy.
How to Use This Tool
- Enter or paste your input in the box or boxes above.
- Choose the options, if there are any.
- Press the button to run the tool.
- Read the result and use the copy button where one is shown.
How the Calculation Works
The tool scans every character and checks it against a list of code points. Zero-width characters are U+200B, U+200C, U+200D, U+2060, U+FEFF and the soft hyphen U+00AD, with the direction marks U+200E, U+200F, U+202A to U+202E and U+2066 to U+2069. Odd spaces are U+00A0, U+1680, U+2000 to U+200A, U+202F, U+205F and U+3000.
Worked Example
The text ab c with a zero-width space and a non-breaking space becomes ab c after cleaning.
Common Uses
- Fixing code copied from the web.
- Cleaning data before import.
- Preparing text for search.
- Finding watermark characters.
Tips and Common Mistakes
- Zero-width joiners are used in some emoji and scripts, so use the spaces-only mode if emoji break.
- Keep a copy of the original.
- Run the tool before comparing two texts.
- Check the first result against a case you already know, so you can trust the tool for the rest.
- Nothing you type leaves your device. The work is done by your browser, so it also works with a slow connection once the page has loaded.
Related Tools
Next, you may need the smart quotes converter, dash and hyphen normalizer, character counter, text repeater.
Everything runs in your browser. Nothing you type is uploaded, stored or sent to any outside service.
Frequently Asked Questions
Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.