Guide · Data Tools / Text & Writing
About Invisible Character & Unicode Cleaner
Scan text for hidden zero-width spaces, UTF-8 BOM markers, soft hyphens, non-breaking spaces, and bidi control characters, then strip them cleanly.
When to use this tool
Essential when pasted JSON, SQL, or code throws unexpected syntax errors caused by invisible U+200B or U+FEFF characters from chat or docs.
How to use Invisible Character & Unicode Cleaner
- Paste suspect text or code into Text to Inspect & Clean.
- Decide whether to convert U+00A0 non-breaking spaces to regular ASCII spaces.
- Inspect the detected hidden-character inventory and copy the sanitized output.
Supported inputs, options, and outputs
- Inputs: Text string and NBSP conversion toggle.
- Outputs: Table of detected invisible codepoints with counts, plus sanitized plain text.
Accuracy notes and limitations
- Stripping bidirectional override characters (U+202A–U+202E, U+2066–U+2069) improves safety against Trojan Source text spoofing but may alter mixed RTL/LTR script rendering.
- Standard tabs and newlines are intentionally preserved.
Privacy and browser processing
All text transformations run strictly in browser JavaScript without sending pasted drafts, identifiers, or transcripts to IJM servers. Hosted pages load cookie-free Vercel Web Analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Data Tools.