Invisible Character Detector & Remover
Find and remove zero-width spaces, BOM, NBSP, bidi controls, and look-alike letters.
Introduction
Invisible characters such as U+200B, a byte order mark, or a non-breaking space sit in source code and documents without showing up in the editor. This detector marks each one with a badge, lists the code point and line, and can strip them while keeping emoji joiners. Look-alike letters are flagged only inside a word that is otherwise Latin. Tag characters used to hide prompt text are decoded in the page.
Common invisible characters
| Name | Code point | Where it comes from | Safe to remove? |
|---|---|---|---|
| Zero-width space | U+200B | Websites, chat apps, PDFs | Yes |
| Zero-width non-joiner | U+200C | Persian and Hindi text, copy-paste | Only outside Indic or Arabic text |
| Zero-width joiner | U+200D | Emoji sequences | Not inside emoji |
| Word joiner | U+2060 | Word processors | Yes |
| BOM | U+FEFF | Windows Notepad, Excel CSV | Yes, at the start of a file |
| Non-breaking space | U+00A0 | Word, Google Docs, HTML nbsp | Replace with a space |
| Narrow no-break space | U+202F | macOS dates and French text | Replace with a space |
| Soft hyphen | U+00AD | Ebooks and CMS editors | Yes |
| Right-to-left override | U+202E | Attacks and filename tricks | Yes |
| Tag characters | U+E0000–E007F | Hidden prompt text | Yes |
Features
- Badges for zero-width, NBSP, BOM, bidi, and tag characters
- Look-alike letters inside Latin words
- Hidden tag-character message decoder
- Clean with emoji-safe ZWJ and variation selector options
- Escape view and Markdown report
- File drop up to 5 MB, processed locally
How to use
- 1Paste text, use Paste from clipboard, or drop a text file.
- 2Read the badges and the results table. Hover a badge for the code point and line.
- 3Choose what to remove, then copy or download the cleaned text.
Example
Zero-width space in a variable name
Inputconst price<ZWSP> = 100;Output
const price = 100;
Benefits
- Use Invisible Character Detector without installing a desktop app or browser extension.
- Works well alongside Whitespace Remover and Find & Replace for adjacent steps in the same workflow.
- Results stay in this browser tab until you copy or download them.
FAQs
It is Unicode U+200B. It has no width, so you cannot see it, but programs still treat it as a character. It is often copied from web pages, chat apps, and PDFs.
A zero-width space, a BOM, or a non-breaking space is the usual cause. Paste the line here and the badge shows the code point and column.
Most model output has no secret watermark. Copied chat text often does include non-breaking spaces or zero-width spaces from the page. Tag characters can also hide a message a model will read. This tool decodes that message.
CVE-2021-42574 showed that bidi controls can make code look different to a person than to a compiler. If this text looks like code and contains those controls, the page shows a warning.
No. U+200D joins emoji such as the family sequence. Keep ZWJ in emoji stays on by default so those sequences stay intact. A joiner outside emoji is safe to remove.
U+FEFF at the start of a file is a byte order mark some Windows editors add. JSON.parse and many shell scripts reject that first character. Remove BOM and download the file as UTF-8 without a BOM.
No. Detection and cleaning run in your browser. Nothing is uploaded.
Related guides
Learn what zero-width spaces, BOM, NBSP and bidi characters are, why they break code and text, and how to find and remove them with our free tool.