IJM
Data ToolsText & Writing

Invisible Character & Unicode Cleaner

Detect and strip zero-width spaces (ZWSP), BOM, non-breaking spaces, soft hyphens, and bidi control characters.

Processed in browserNo upload

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

  1. Paste suspect text or code into Text to Inspect & Clean.
  2. Decide whether to convert U+00A0 non-breaking spaces to regular ASCII spaces.
  3. 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.

Related Tools

Ranked by matching inputs, outputs, and workflow compatibility

View all 123 in Data Tools →