Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

Invisible Character Detector

Find hidden, zero-width and non-printing Unicode characters in any text. See exactly where they are, understand the risk, and remove them in one click.

  • 100% free
  • No Signup
  • Works in your browser
  • Shows exact positions

Scan result

Waiting for text

Paste some text above to scan it for invisible characters.

0Characters scanned
0Hidden found
0Unique types
0Lines affected
Text with hidden characters highlighted
Highlighted text appears here.
  • High risk
  • Medium risk
  • Low risk

Invisible characters you can copy and test

Copy any of these characters, or add one to the scanner to see how it is detected. Each one is a real Unicode character, not an empty string.

ZWSPU+200B
Zero Width Space

Invisible and zero width. The most common hidden character in copied text.

ZWNJU+200C
Zero Width Non-Joiner

Stops letters from joining. Needed in Persian, Urdu and some Indic text.

ZWJU+200D
Zero Width Joiner

Joins characters. Builds emoji sequences such as family and profession emojis.

WJU+2060
Word Joiner

Prevents a line break. Invisible and easy to miss.

BOMU+FEFF
Byte Order Mark

Often sits at the very start of a UTF-8 file or pasted block.

SHYU+00AD
Soft Hyphen

Only visible when a word wraps at the end of a line.

NBSPU+00A0
No-Break Space

Looks like a normal space but is a different character.

EMSPU+2003
Em Space

A wide typographic space that looks empty.

THSPU+2009
Thin Space

A narrow typographic space used in numbers and typesetting.

IDSPU+3000
Ideographic Space

A full-width space used in Chinese, Japanese and Korean text.

HFU+3164
Hangul Filler

Renders as blank. Often used where an empty name is needed.

BPBU+2800
Braille Pattern Blank

Renders as blank even though it is a real character.

LRMU+200E
Left-to-Right Mark

Controls text direction in mixed-language text.

RLMU+200F
Right-to-Left Mark

Controls text direction in Urdu, Arabic and Hebrew mixed text.

ADVERTISEMENT
Demo Ad 728 x 90

How to find invisible characters in text

1Paste your text

Add text from a website, file, spreadsheet, chat or code editor.

2Review the highlights

Hidden characters appear as colored badges with their exact positions.

3Clean or copy

Remove the hidden characters, or copy a marked version for debugging.

HIDDEN CHARACTER GUIDE

Invisible Character Detector – Find Hidden, Zero-Width and Unicode Characters in Any Text Online Free

Have you ever copied two pieces of text that look exactly the same, only to find that a search fails, a formula returns an error, a login is rejected or a program refuses to run? The reason is very often an invisible character: a hidden Unicode symbol that takes up no visible space but still counts as part of the text. Our free invisible character detector is built to find them. Paste your text and the tool scans every character, highlights each hidden one with a colored badge, tells you its Unicode code point and name, shows its exact line and column, and rates how risky it is. It works as a zero width space detector, a hidden character finder, a non-printing character checker, a Unicode character inspector and a hidden text detector in one page. It finds zero-width spaces, joiners and non-joiners, byte order marks, soft hyphens, non-breaking spaces and other unusual spaces, bidirectional control characters, control characters, variation selectors, tag characters and blank-looking fillers. When you are ready, remove them with one click while keeping the characters that real languages need, then copy the clean text or download it. There is no signup, no limit and no upload, because everything runs in your browser.

Detect Zero-Width Spaces and Joiners

Find zero width space (U+200B), zero width non-joiner, zero width joiner, word joiner, soft hyphen and byte order mark characters. These are the usual suspects behind text that looks right but behaves wrongly, and they are invisible in almost every editor and web page.

Find Non-Breaking and Unusual Spaces

Spot non-breaking spaces, thin spaces, em spaces, narrow no-break spaces and ideographic spaces that look like ordinary spaces but are different characters. They are the hidden cause behind many failed lookups, broken comparisons and import errors.

Catch Bidirectional Control Characters

Detect left-to-right and right-to-left marks, embeddings, overrides and isolates. Overrides can make text display in a different order than it is stored, which is why they are rated high risk in code, file names and links.

Reveal Control and Non-Printing Characters

Reveal null, escape, delete and other ASCII and C1 control characters that sneak in from binary data, terminals, exports and legacy systems. Each one is labelled by name so you know exactly what you are dealing with.

See Hidden Characters Highlighted

The highlighted view places a badge exactly where each hidden character sits, color coded by risk. Hover over a badge to see the Unicode name and code point, so you can understand a problem in seconds instead of guessing.

Clean, Mark and Report

Remove invisible characters with smart rules that protect Persian, Urdu and emoji, copy a version of your text with visible markers for debugging, or copy a plain-text report listing every character found with counts and positions.

What Are Invisible Characters? (Complete List with Unicode Codes)

Invisible characters, also called hidden characters, non-printing characters or zero-width characters, are real Unicode characters that do not draw any visible shape on screen. Some take up no width at all. Others take up space but look empty. They exist for good reasons: to control how text breaks across lines, to join or separate letters in languages such as Persian and Hindi, to set the direction of mixed left-to-right and right-to-left text, to mark the encoding of a file, and to build emoji sequences. The trouble starts when they end up somewhere they were not meant to be, because a computer treats them as ordinary characters even though a human cannot see them. The table below lists the invisible and look-alike characters that this detector looks for most often.

Common invisible characters, Unicode codes and risk levels
Unicode Name Why it exists or appears Risk
U+200BZero Width Space (ZWSP)Allows a line break inside long words and URLs; very common in copied web textMedium
U+200CZero Width Non-Joiner (ZWNJ)Stops two letters from joining; required in Persian, Urdu and some Indic spellingLow
U+200DZero Width Joiner (ZWJ)Joins characters; builds emoji sequences and some scriptsLow
U+2060Word JoinerPrevents a line break at that pointMedium
U+FEFFZero Width No-Break Space (BOM)Byte order mark at the start of UTF-8 or UTF-16 filesMedium
U+00ADSoft HyphenHyphenation hint, shown only when a word wrapsMedium
U+00A0No-Break Space (NBSP)Appears in web pages, Word files and spreadsheetsLow
U+202FNarrow No-Break SpaceFrench typography, number grouping and time formatsLow
U+2000 to U+200AEn, em, thin, hair and other spacesTypographic spacingLow
U+3000Ideographic SpaceFull-width space in Chinese, Japanese and Korean textLow
U+3164Hangul FillerBlank-looking character used where an empty value is wantedMedium
U+2800Braille Pattern BlankBlank-looking character from the Braille blockMedium
U+2061 to U+2064Invisible math operatorsMathematical typesettingMedium
U+200E, U+200F, U+061CDirection marks (LRM, RLM, ALM)Fixes direction in mixed-language textLow
U+202A to U+202EEmbeddings and overrides (RLO, LRO)Forces display direction; abused for spoofingHigh
U+2066 to U+2069Directional isolatesIsolates direction; abused in source code attacksHigh
U+FE00 to U+FE0FVariation selectorsChoose a glyph or emoji styleLow
U+E0000 to U+E007FTag charactersEmoji flag sequences; can also carry hidden textMedium
U+0000 to U+001F, U+007FASCII control charactersBinary data, terminals, legacy exportsMedium

Normal spaces, tabs and line breaks are not flagged, because they are expected in text. Everything else in the table is flagged, labelled and explained, and you can switch whole categories on or off in the settings if you only care about one kind of problem.

Why Do Invisible Characters Appear in Your Text?

Almost nobody types an invisible character on purpose. They arrive through copy and paste and through the tools that sit between you and your text. Knowing the usual sources helps you decide where to look and how to prevent the problem next time.

  • Copying from websites: Content management systems and page builders insert zero-width spaces, non-breaking spaces and soft hyphens to control wrapping and layout. They come along when you select and copy a headline, a product name or an address.
  • PDF and Word documents: Text extracted from PDFs often contains soft hyphens, strange spaces and control characters from the page layout. Word adds non-breaking spaces and special hyphens through its own formatting.
  • Chat apps and social media: Messaging platforms and social networks add direction marks, joiners and variation selectors around emoji and mixed-language text.
  • Spreadsheets and exports: A CSV saved as UTF-8 with a signature starts with a byte order mark, and exports from older systems can contain null and control characters.
  • Copying from AI chatbots and editors: Rich text editors and chat interfaces sometimes add extra spacing characters when they render and copy formatted answers.
  • OCR and scanned text: Optical character recognition can produce odd spaces and replacement characters when it is unsure about a glyph.
  • On purpose: Some people insert hidden characters to create blank names, to watermark text, to dodge filters or to disguise links, which is another reason to be able to check.

How to Find Invisible Characters in Text (Step by Step)

You cannot find hidden characters by looking at them, which is exactly what makes them annoying. This tool does the looking for you. Follow these steps to detect invisible characters in any text.

  1. Paste your text: Put the suspicious text into the Paste text to scan box. It can be a single word, a username, a column of data, a whole article or a code file.
  2. Check the verdict: The result card tells you in plain language whether your text is clean, contains low-risk characters, contains hidden characters that can cause problems, or contains high-risk direction controls.
  3. Read the highlighted view: Every hidden character is shown as a colored badge exactly where it sits in the text. Hover over a badge to see its Unicode name and code.
  4. Study the Characters found table: See each unique character with its category, risk level, how many times it appears and the line and column of its first occurrences.
  5. Adjust what to scan for: Turn categories on or off if you only care about certain problems, such as zero-width characters or direction controls.
  6. Clean or export: Copy or download the cleaned text, copy a marked version for debugging, or copy a text report that you can paste into a ticket or message.

The scan updates live while you type or paste, so you never have to press a button. Because it checks every single character, a clean verdict is a strong sign that the problem you are chasing is somewhere else.

How to Read the Results: Risk Levels Explained

Not every hidden character is a problem. A zero width joiner inside an emoji or a zero width non-joiner inside a Persian word is correct and necessary. To save you from guessing, every character is given a risk level based on how often it causes trouble or can be abused.

Risk levels used by the invisible character detector
Level What it means Typical examples Suggested action
High Can make text or code display differently from how a computer reads it Right-to-left override, embeddings, directional isolates Remove unless you can explain exactly why it is there
Medium Invisible and likely to break matching, parsing, search or copy and paste Zero width space, byte order mark, soft hyphen, control characters, blank fillers Usually remove
Low Often legitimate, but can still cause exact-match problems Non-breaking space, thin space, joiners, direction marks, variation selectors Keep for real language or emoji use, convert or remove otherwise

The overall verdict always follows the highest risk found. If a single high-risk character appears, the verdict is high risk even when the rest of the text is only low-risk spaces.

What Is a Zero-Width Space (ZWSP) and How Do You Find It?

A zero-width space, written U+200B, is the best-known invisible character. It has no width and no visible shape. Its original job is to tell a layout engine that a line may break at that point, which is useful for languages written without spaces and for very long words or URLs. When you copy text from a web page, a document or a chat window, a zero-width space can quietly come with it.

The problems are subtle. Two usernames that look identical are not equal. A password copied from a message is rejected. A word with a hidden space inside it is not found by search. A character counter shows a higher number than you can count by eye. A product code pasted into a form fails validation. To find a zero width space, paste the text into the detector and look for the ZWSP badge. If you want to remove zero width space characters, leave Zero-width characters switched on and use the cleaned text box.

Non-Breaking Space vs Normal Space: Why Identical Text Does Not Match

A non-breaking space (U+00A0, often written as   in HTML) looks exactly like a normal space, but it is a different character. It tells a browser not to wrap the line at that point, so you find it in web pages, Word documents and many spreadsheets. Spreadsheet users meet it all the time: a lookup that should match returns an error because one cell contains a non-breaking space and the other contains a normal one. The TRIM function in Excel removes extra normal spaces, but it does not remove a non-breaking space.

This detector marks every non-breaking space and every other unusual space as an NBSP, NNBSP, EMSP, THSP or similar badge. By default the cleaner converts them into normal spaces instead of deleting them, so your words do not stick together. You can switch that behavior off if you prefer to delete them.

Byte Order Mark (BOM, U+FEFF): The Hidden Character at the Start of Files

The byte order mark is a special character placed at the beginning of some text files to signal the encoding, most often UTF-8 with a signature. Many programs hide it, so you do not see it, but it is still there. It is a classic cause of three problems. A CSV import shows a strange first column name such as id because the program does not understand the signature. A script fails to parse the first line of a configuration or JSON file. A PHP file that begins with a BOM can send output before headers, which produces the well-known headers already sent error.

When the detector finds U+FEFF, it shows its position. If the position is line 1, column 1, you are almost certainly looking at a file signature. If it appears in the middle of text, it is acting as a zero width no-break space, usually the result of joining or copying text from several sources. Either way, the cleaner removes it.

Zero Width Joiner and Non-Joiner: When Hidden Characters Are Required

Removing every hidden character blindly can damage text. The zero width non-joiner (U+200C) is part of correct spelling in Persian and is also used in Urdu and several Indic scripts, where it keeps a letter from connecting to the next one. The zero width joiner (U+200D) is used to build emoji sequences, such as people with skin tones or family groupings, and to select forms in some scripts. Variation selectors, especially U+FE0F, decide whether a symbol is drawn as a colorful emoji or as a plain text symbol.

That is why the settings include Keep ZWNJ, ZWJ and emoji selectors when cleaning, which is switched on by default. The detector still shows these characters so that you know they are present, but the cleaner leaves them alone. Switch the option off only when you are sure the text should contain none of them, for example when preparing a plain username or an identifier.

Bidirectional Control Characters and Trojan Source Attacks

Languages such as Urdu, Arabic and Hebrew are written from right to left, and Unicode includes control characters that manage the direction of mixed text. Marks such as LRM and RLM are harmless and often necessary. Overrides and embeddings such as RLO and LRO, and the isolate characters, are different. They can reorder how text appears on screen without changing the order in which a computer reads it.

Security researchers showed that this can be abused in source code, an attack known as Trojan Source and tracked as CVE-2021-42574, where code looks harmless to a reviewer but behaves differently when it runs. The same idea has been used to disguise file names, so that a program appears to have a harmless extension, and to make links or messages look different from what they really contain. This is why the detector rates override, embedding and isolate characters as high risk and tells you to remove them unless you know exactly why they are there. Scanning pasted code, commit messages, file names and untrusted text before you act on them is a sensible habit.

Hidden Unicode in AI Text, Prompts and Tag Characters

You may have seen claims that AI chatbots secretly insert invisible characters into their answers as a watermark. In practice, hidden characters in pasted text usually come from the website, editor or app you copied from, so a detector can show you what is in your text but cannot prove who or what wrote it. Treat any claim that hidden characters reveal AI authorship with caution.

A more practical concern is hidden instructions. Unicode contains a block of tag characters (U+E0000 to U+E007F) that mirror plain ASCII letters but display as nothing in most apps. Researchers have shown that text can be hidden in them and that some AI systems may still read it, which can be used for prompt injection. Tag characters also have a legitimate use in some emoji flag sequences, so the detector rates them as medium risk and shows each one as a TAG badge with its code point. If you copy prompts, documents or web content into an AI tool, scanning it first is a cheap way to make sure that nothing unexpected is hiding inside.

Common Problems Caused by Hidden Characters (and How to Fix Them)

If you are not sure that a hidden character is behind your problem, check whether the symptom is on this list. These are the issues people most often report, and the matching fix.

Symptoms, likely hidden causes and fixes
Symptom Likely hidden cause What to do
Two identical strings are not equalZero-width space or non-breaking spaceScan both values and clean them
VLOOKUP, XLOOKUP or MATCH returns an error although the value looks the sameNon-breaking space (U+00A0) or ZWSPConvert unusual spaces and remove zero-width characters
Username, email or password is rejectedHidden character copied with the textRetype or clean the value before using it
CSV header shows  or the import fails on column oneByte order mark (U+FEFF)Remove the BOM or save as UTF-8 without signature
Syntax error such as unexpected character in code or JSONZWSP, BOM or NBSP inside the sourceDetect the position and delete the character
A visible word cannot be found with searchSoft hyphen or ZWSP inside the wordClean the text, then search again
Character count is higher than expectedZero-width characters counted as charactersScan to see how many hidden characters there are
File name or link shows reversed or odd textRight-to-left override (U+202E)Do not open it; remove the character and verify the source
A name looks empty but the field accepts itHangul filler or Braille blankScan to confirm and replace it with real text
Persian or emoji text breaks after cleaningZWNJ or ZWJ was deletedKeep ZWNJ, ZWJ and emoji selectors switched on

How to Detect Invisible Characters in Excel, Google Sheets, VS Code and Code

A dedicated detector is the fastest way to see what is hiding in a piece of text, but sometimes you need to deal with it where the data lives. These are reliable methods for the most common tools, including detecting a character by its code and removing it.

Microsoft Excel: compare the length of a cell with the length you expect, and use UNICODE with MID to reveal a character by position. SUBSTITUTE with CHAR or UNICHAR removes a specific one. The CLEAN function only removes the first 32 ASCII control characters, so it does not remove zero-width spaces or non-breaking spaces.

=LEN(A1)
=UNICODE(MID(A1, 3, 1))
=SUBSTITUTE(A1, UNICHAR(8203), "")
=SUBSTITUTE(A1, CHAR(160), " ")

Google Sheets: use REGEXREPLACE with a character class of hidden code points.

=REGEXREPLACE(A1, "[\x{200B}-\x{200D}\x{2060}\x{FEFF}]", "")

JavaScript and Python: match the zero-width characters, or check the Unicode category to list every format and control character together with its name.

// JavaScript
const hidden = /[\u200B-\u200D\u2060\uFEFF]/g;
const clean = text.replace(hidden, "");
const hasFormatChars = /\p{Cf}/u.test(text);

# Python
import unicodedata
for i, c in enumerate(s):
    if unicodedata.category(c) in ("Cf", "Cc", "Zs") and c != " ":
        print(i, hex(ord(c)), unicodedata.name(c, "UNKNOWN"))

VS Code, Notepad++ and the command line: VS Code can highlight invisible characters through its Unicode highlight settings and can render control characters when you turn that option on. In Notepad++, use View, Show Symbol, Show All Characters, or run a regular expression search for the code points. On Linux or macOS with GNU grep, a Perl-compatible pattern finds them line by line.

grep -nP '[\x{200B}-\x{200D}\x{2060}\x{FEFF}]' file.txt

All of these methods need you to know which code point to look for. The detector removes that guessing, because it checks the full list of known invisible characters at once and tells you which ones it found.

Invisible Characters vs Look-Alike (Homoglyph) Characters

It helps to know what this tool does and does not look for. An invisible character draws nothing, or draws a blank space. A homoglyph is a visible character that looks like another one, such as a Cyrillic letter that looks like a Latin letter, and it is used in lookalike domain names and spoofed text. Both can make two strings look the same while being different, but they are different problems. This detector focuses on invisible, zero-width, blank-looking, spacing, direction and control characters. If you suspect a visible look-alike character, check the text with a Unicode inspector or compare the code points of the suspicious word against a known-good copy.

Invisible Character Detector vs Other Methods

You can find hidden characters in several ways. The comparison below shows where an online detector fits compared with the alternatives.

Ways to detect hidden characters compared
Method Speed Shows exact position Covers all invisible types Best for
This online detectorInstantYes, line and columnYesQuick checks with a clear explanation and one-click cleaning
Text editor symbol viewFastVisuallyPartlySpaces, tabs and control characters
Regular expression searchFastYesOnly the codes you listDevelopers who already know the code point
Spreadsheet formulasSlowPer characterOnly the codes you listCleaning inside a worksheet
Hex editorSlowYes, by byteYesBinary files and encoding analysis

Pro Tips for Working with Hidden Characters

  • Scan before you paste into a live system: Check usernames, API keys, product codes, config values and database imports before they cause a failure.
  • Compare with the marked copy: Copy text with markers to see the code points inline, which is perfect for bug reports and code reviews.
  • Do not delete joiners in Persian, Urdu or emoji text: Keep the protective option on unless you are certain.
  • Prefer converting spaces to deleting them: Converting non-breaking and thin spaces to a normal space keeps words readable.
  • Treat high-risk results seriously: Direction overrides in code, file names or links deserve a second look, not just a quick clean.
  • Check the source, not only the symptom: If hidden characters keep returning, find out which website, export or editor adds them and fix it there.
  • Keep the original: Save the unmodified text before you replace data, especially when you are not sure whether a character was meaningful.

Free, Fast and Private Invisible Character Detector

This invisible character detector runs completely in your web browser. Your text is scanned on your own device, so it is never uploaded to a server, never stored and never shared. There is no account, no watermark, no daily limit and nothing to install, and it works on Windows, Mac, Linux, Android and iPhone. That makes it a safe choice for client data, internal documents, code and anything else that you would rather keep private.

Ready to check your text? Scroll back to the top, paste it in and see what has been hiding in it. If you also need to clean visible symbols, punctuation and emojis, try our special character remover, and explore the other free tools on our site for files, images and documents.

ADVERTISEMENT
Demo Ad 300 x 250
COMMON QUESTIONS

Invisible Character Detector FAQ

Quick answers about finding, understanding and removing hidden, zero-width and Unicode characters in text.

How do I detect invisible characters in text?

Paste your text into the detector. It scans every character, highlights each hidden one with a colored badge, and lists its Unicode name, code point, risk level, count and the line and column where it appears. You do not need to press a button, because the scan updates live as you type or paste.

What is a zero-width space and why is it in my text?

A zero-width space (U+200B) is an invisible character that tells software it may break a line at that point. It is usually added by websites, editors, chat apps and document tools, and it gets copied along with the visible text. It can make identical-looking text fail comparisons, searches and logins, so it is best to remove it unless you need it.

Are non-breaking spaces and other unusual spaces invisible characters?

Yes, in practice. A non-breaking space (U+00A0), thin space, em space or ideographic space looks like an ordinary space but is a different character, so it breaks exact matches and lookups. The detector flags them as low risk, and the cleaner converts them to a normal space by default so that your words stay separated.

How can I remove invisible characters without breaking Persian, Urdu or emoji?

Keep the option Keep ZWNJ, ZWJ and emoji selectors switched on, which is the default. The zero width non-joiner is part of correct spelling in Persian and Urdu, and the zero width joiner and variation selectors hold emoji sequences together. With the option on, the cleaner removes the other hidden characters and leaves these alone.

Why does my text look identical but fail to match or compare?

Computers compare characters, not appearances. A hidden zero-width character, a non-breaking space or a byte order mark makes two strings different even though they look the same. Scan both values with the detector, compare the results, then clean them or retype the value.

Can invisible characters be dangerous?

Most are harmless but annoying. A few can be abused: direction override and isolate characters can make code, file names and links display differently from how they are really read, which is the idea behind the Trojan Source attack. Tag characters can hide text that some systems may still read. The detector rates these as high or medium risk so you can review them before trusting the text.

Is the invisible character detector free, and is my text uploaded?

It is completely free, with no signup, no watermark and no daily limit. Your text is processed entirely inside your browser on your own device, so it is not uploaded, saved or shared. As a general habit with any online tool, avoid pasting passwords or secret keys on shared or public computers.

ADVERTISEMENT
Demo Ad 320 x 50

All Tools, One Place

Merge, split, compress and convert files in seconds. Explore powerful free tools for all your everyday needs.

Explore All Tools →