Skip to content

Invisible Character Detector

Detect and remove hidden Unicode characters, zero-width spaces, and non-printable characters that cause formatting issues.

0 characters 0 words

Related Tools

HTML Encoder & Decoder Remove Extra Spaces Remove Line Breaks Remove Empty Lines Strip HTML Tags Find and Replace Text

How to Use

  1. Paste Suspicious Text — Paste text that behaves unexpectedly — failing string comparisons, showing odd spacing, or triggering encoding errors.
  2. Scan for Hidden Characters — Click Detect Characters to reveal all invisible Unicode code points, zero-width characters, and control characters embedded in your text.
  3. Review and Clean — Examine each detected character with its Unicode name and line:column position, untick any types you want to keep, then clean the rest with one click. Special spaces become normal spaces so words never run together, and the cleaned text can be copied or downloaded.

About the Invisible Character Detector

The Invisible Character Detector finds characters you cannot see: zero-width spaces, byte order marks, direction overrides, control codes and spaces that only look like spaces. It lists each one with its code point and line:column position, marks it inside your text, and cleans the ones you select. Developers use it when two strings that look identical refuse to match. Editors and data teams use it when pasted text breaks imports, word counts or search.

What it detects

The scan reads your text one Unicode code point at a time and sorts every hit into one of seven groups. The group decides what cleaning does with it.

GroupExamplesCleaning
Zero-width / formatU+200B zero-width space, U+200C/U+200D joiners, U+FEFF byte order mark, U+00AD soft hyphen, U+2060 word joiner, U+3164 Hangul fillerRemoved
Bidirectional controlU+200E/U+200F marks, U+202A–U+202E embeddings and overrides, U+2066–U+2069 isolates, U+061CRemoved
Control characterU+0000–U+001F (except tab, line feed and carriage return), U+007F, U+0080–U+009FRemoved
Variation selectorU+FE00–U+FE0F, U+E0100–U+E01EFRemoved
Tag characterU+E0000–U+E007FRemoved
Special spaceU+00A0 no-break space, U+2000–U+200A, U+202F, U+205F, U+3000, U+1680Normal space
Line/paragraph separatorU+2028, U+2029Line break

A special space becomes a normal space, but it is dropped when a normal space already sits next to it, so cleaning never leaves a double space. Joiners and selectors that belong to an emoji are recognized and left alone: the zero-width joiners inside 👨‍👩‍👧, the variation selector in ❤️ or a keycap like 1️⃣, and the tag characters of subdivision flags. The scan reports how many of those it skipped.

Worked example

Three pasted lines that look normal on screen, shown here with the hidden characters in brackets:

[U+FEFF]Price:[U+00A0]$20
user[U+200B]name = admin[U+202E]txt.exe
👨‍👩‍👧 ❤️ 2[U+2009]000

The report says 5 invisible or special characters found. 3 more belong to emoji sequences and are kept. The table is sorted by count, then by code point:

CharacterCode pointPositionCleaning
No-Break SpaceU+00A01:8Replace with normal space
Thin SpaceU+20093:11Replace with normal space
Zero-Width SpaceU+200B2:5Remove
Right-to-Left OverrideU+202E2:18Remove
Byte Order Mark / Zero-Width No-Break SpaceU+FEFF1:1Remove

Columns count code points, so each emoji part counts as one column; that is why the thin space on line 3 sits at column 11. After cleaning, line 2 reads username = admintxt.exe and the family emoji is unchanged.

Limitations

Practical tips

The scan and cleanup run entirely in your browser, so the text you check is never uploaded.

Frequently Asked Questions

What types of invisible characters does the tool detect?

The tool detects zero-width spaces (U+200B), zero-width non-joiners (U+200C), zero-width joiners (U+200D), byte order marks (U+FEFF), soft hyphens (U+00AD), non-breaking spaces (U+00A0), right-to-left and left-to-right marks (U+200F, U+200E), bidirectional embedding, override, and isolate controls (U+202A to U+202E, U+2066 to U+2069), variation selectors (U+FE00 to U+FE0F), invisible tag characters (U+E0000 to U+E007F), unusual spaces such as en, em, and thin spaces, and the Unicode control characters in the C0 and C1 ranges (except tab, line feed and carriage return, which are normal text formatting), among others. Joiners and selectors that are part of an emoji, such as a family or flag emoji, are recognized and left alone.

How do invisible characters get into my text?

They are introduced by copy-pasting from web pages, word processors, PDFs, and messaging apps. Some websites deliberately insert zero-width characters to fingerprint copied text and detect plagiarism. Rich-text editors may add byte order marks or directional markers automatically.

Can invisible characters cause bugs in my code?

Absolutely. A zero-width space in a variable name, JSON key, or file path creates a string that looks identical to the naked eye but fails every comparison. These characters are a notorious source of hard-to-diagnose bugs in programming, database queries, and configuration files.

How does the tool display invisible characters?

Each detected character is highlighted in the text with a colored marker. A detailed table lists every invisible character found, showing its first positions as line:column, Unicode code point (e.g., U+200B), Unicode name, a brief description of its effect, and what cleaning will do with it.

Are non-breaking spaces (U+00A0) considered invisible characters?

Yes. Non-breaking spaces look identical to regular spaces but have different Unicode code points. They prevent line breaks between words, which is sometimes intentional, but they can also cause unexpected behavior in search, comparison, and data-import operations. The tool flags them so you can decide whether to keep them (untick them before cleaning) or normalize them. Cleaning replaces non-breaking and other special spaces with a normal space rather than deleting them, so words never merge.

Can this tool detect text fingerprinting or steganographic content?

Yes. Some publishers embed unique sequences of zero-width characters into text to trace unauthorized copying. The detector reveals these hidden fingerprints, showing exactly where they are placed and what characters are used, allowing you to identify and remove tracking markers from copied content.