Hidden Characters Detector

Detect and reveal invisible Unicode characters like zero-width spaces, no-break spaces and bidi marks in pasted text. Clean text with one click.

Runs in your browser. No data leaves your device.

About this tool

Scans text for invisible or easily overlooked Unicode characters, shows where they are, and removes them. Use it to clean copy-pasted text, find zero-width characters that break searches and comparisons, or check text for invisible characters inserted to track copies. It is not an AI detector.

Features
  • Detects U+200B zero-width space, U+200C zero-width non-joiner, U+200D zero-width joiner, U+2060 word joiner, U+00AD soft hyphen, U+200E/U+200F direction marks, U+202A-U+202E bidi embeddings and overrides, U+2066-U+2069 bidi isolates, U+FEFF byte order mark, U+2061-U+2064 invisible math operators, U+180E Mongolian vowel separator, U+3164 Hangul filler, U+E0000-U+E007F tag characters (hidden ASCII text), U+00A0 no-break space and U+202F narrow no-break space
  • Joiners doing their job are not flagged: a ZWJ inside a combined emoji (family and profession emoji, rainbow flag), and a ZWNJ or ZWJ next to Persian/Arabic, Syriac, Indic, Sinhala or Mongolian letters. They appear in a separate "Normal in some languages / emoji" group, are not counted, and are kept when cleaning unless "Remove these too" is ticked
  • Tag characters of England/Scotland/Wales flags are part of the emoji and are ignored
  • Summary: hidden characters found (with normal joiners noted separately), total characters and characters after cleaning
  • Breakdown table with each character's name, code point and count
  • Highlighted view showing each hidden character as a red labeled marker (e.g. [ZWS], [NBSP]) in place, and normal joiners as grey markers
  • Cleaned Text with copy and pipeline buttons, plus a Replace Input with Clean Text button
  • Example button loads text with hidden characters in it
How to use it
  1. Paste the text to check.
  2. Read the count, breakdown table and highlighted view.
  3. Copy the cleaned text, or click Replace Input with Clean Text.
Inputs
  • Any text
Outputs
  • Counts per hidden character, a highlighted view and cleaned text
Limits and notes
  • Only the listed code points are detected; variation selectors and other format characters are not.
  • Cleaning replaces no-break spaces with normal spaces and deletes the rest of the hidden characters.
  • Whether a joiner is "normal" is decided by its neighbours only (a letter of one of those scripts on either side, or emoji on both sides); a joiner planted inside a Persian or Hindi word is therefore treated as normal.
  • Counts are per character (an emoji counts as 1).
  • It is not an AI detector: finding hidden characters, or none, says nothing reliable about whether text was AI-generated; the tool shows a disclaimer saying so.
  • Text is not saved and nothing is uploaded.

Frequently Asked Questions

How does the Hidden Characters Detector work?

The tool walks through your text and checks each character against a list of invisible ones: zero-width space, non-joiner and joiner, word joiner, soft hyphen, direction marks, bidi overrides and isolates, byte order mark, invisible math operators, Unicode tag characters (hidden ASCII text), no-break spaces and a few fillers. Matches are counted in a breakdown table and shown in place as short labeled markers such as [ZWS]. The cleaned text removes them and turns no-break spaces into normal spaces.

Does it flag the joiners Persian, Hindi and emoji need?

No. A zero-width non-joiner or joiner next to Persian, Arabic or Indic letters, and a joiner holding a combined emoji together (families, flags, professions), is listed in a separate "Normal in some languages / emoji" group, is not counted as hidden, and is kept when cleaning. A "Remove these too" option strips them anyway. The same characters elsewhere, for example inside English words, are flagged.

What are hidden characters?

Invisible Unicode characters like zero-width spaces, zero-width joiners, soft hyphens, and other non-printable characters that are invisible in normal text but can cause problems with search, comparison, and code parsing.

Why would text have hidden characters?

Copy-pasting from web pages, PDFs and word processors often brings along invisible characters such as non-breaking spaces, soft hyphens or byte order marks. They can also be added on purpose to track copies of a text. Some tools, AI chatbots among them, have been reported to insert invisible or unusual characters such as narrow no-break spaces; whether that is a deliberate watermark or a side effect is disputed. Most AI-generated text contains none, so neither a clean result nor a hit says who or what wrote the text.

Can I remove the hidden characters?

Yes. When any hidden characters are found, the Cleaned Text panel shows the text without them, with a copy button and a button to replace your input with the clean version. No-break spaces become normal spaces so words don't run together.