Invisible Character Detector

Find zero-width spaces, non-breaking spaces, direction marks and other hidden Unicode characters. Inspect counts and choose exactly which character types to clean.

0 lines

Select the character types to clean. Non-breaking spaces become ordinary spaces. Joiners and direction marks can be meaningful in emoji and writing systems; they stay intact unless you select them.

Detected character types

Paste text to inspect it.

Cleaned text

0 characters detected

Cleaned text will appear here.

Use the invisible character detector in three steps

  1. Inspect the original text

    Paste the value that fails to match, or open its plain text file. Keep the original in another document. The detector reports supported hidden character types, Unicode codes and occurrence counts, even when the text looks normal. No cleanup rule changes the source box.

  2. Choose what to change

    Review each detected type before selecting it. Zero-width spaces, byte order marks and soft hyphens are selected initially. Non-breaking spaces can be changed to ordinary spaces. Leave joiners and direction controls unchecked when their effect on the writing or emoji is intentional.

  3. Review the cleaned result

    Compare the cleaned text with your original and copy or download the result. Then retry the import, lookup or comparison that failed. A successful cleanup is specific to your data: finding a hidden character does not establish that every such character should be removed.

Example: two invisible spaces with different cleanup rules

The bracketed Unicode labels below make normally hidden positions readable in this illustration. The sample button in the tool contains the actual characters. Select U+200B and U+00A0 to reproduce the two space changes; leave U+200D unchecked to preserve the family emoji.

Before · readable character markers

hello[U+200B]world
hello[U+00A0]world
family: 👨‍👩‍👧‍👦

Selected rules

U+200B → remove
U+00A0 → ordinary space
U+200D → preserve

After

helloworld
hello world
family: 👨‍👩‍👧‍👦

The first line joins two text fragments because a zero-width space is removed. The second retains a visible separator because a non-breaking space is replaced. The emoji remains joined. Those are three distinct outcomes, so a single “remove everything” rule would be inappropriate.

When this tool helps

Spreadsheet values that will not match

An exported SKU can look identical to a copied website value while carrying a hidden space. Inspect the affected column value before changing matching rules. Remove only the unwanted type, then compare the cleaned value again. Keep leading zeroes and punctuation when they belong to the identifier; this detector does not decide which product a code represents.

Text copied from a CMS or web page

Editors can inherit non-breaking spaces, soft hyphens or a leading byte order mark from rich text. Use the character report to understand why text wraps unexpectedly or fails a literal search. Copy cleaned text back into a draft, check the layout, and review any language-specific formatting before publishing.

Debugging strings in a form or import

Developers and support teams can inspect a small failing value from a plain text export. Compare the detected character code with the rules accepted by the destination system. This is a text inspection workflow: it does not validate an email account, repair a malformed file format or execute code pasted into the box.

Who uses an invisible character detector?

Data analysts, spreadsheet users, editors and developers can use the same detector for different reasons. Start with the exact value that produces the problem, rather than cleaning an entire dataset speculatively. For line-based inventories, inspect a representative problem first, clean the necessary text, and use list comparison to verify the resulting membership. For multilingual text, ask someone who reads the language to review changes to joiners or direction marks.

How to find invisible characters

Paste text or open a plain text file. The detector shows each supported character type, its Unicode code point, and the number of occurrences. Select a type to remove all occurrences of that character. Non-breaking spaces are replaced with ordinary spaces so adjacent words do not merge. Copy or download the cleaned text and compare it with your source.

Diagnose values that look identical

Copied spreadsheet cells, CMS text, product identifiers, and web snippets can include zero-width spaces or a byte order mark. These characters can make apparently identical values fail an exact comparison. Inspect the detected types before cleaning. This tool identifies a defined set of commonly troublesome Unicode characters; it is not an exhaustive Unicode inspector.

Preserve meaningful writing and emoji

Zero-width joiners and non-joiners can affect the appearance of words and emoji. Direction controls can be necessary for right-to-left text. They are reported but stay unchanged unless you explicitly select them. Ordinary spaces, tabs and line breaks also remain unchanged. The sample includes a family emoji so you can see why selective cleanup matters.

Keep the work private

This tool runs in the browser tab you are using. No account is required and your text is not submitted to a server. The result exists only on this device, so copy or download it before closing the page.

Frequently asked questions

What is an invisible character?

It is a character whose effect may not appear as a visible letter or symbol. Some control spacing, joining or text direction. This detector recognizes a defined set of commonly troublesome characters and reports their Unicode codes; it does not classify every non-printing character in Unicode.

Are zero-width spaces and ordinary spaces the same?

No. A zero-width space can create a break opportunity without a visible gap. An ordinary space occupies a visible position. Removing a zero-width space joins the adjacent fragments; replacing a non-breaking space with an ordinary one preserves separation while changing wrapping behavior.

Why does my lookup still fail after cleanup?

Other differences can remain, including case, accents, punctuation, leading zeroes or a different spelling. The detector only changes selected supported character types. Compare the resulting values with the expected source instead of assuming all matching failures are caused by invisible text.

Does this remove tabs and line breaks?

No. Ordinary spaces, tabs and line breaks are preserved by this tool. Use a separate line or whitespace workflow when you deliberately want to change those separators. Keeping them here helps preserve the structure of pasted lists and paragraphs.

Can cleaning change emoji or non-Latin writing?

Yes, if you choose meaningful joiners, non-joiners or direction controls. They are not selected initially. A joined emoji may become separate symbols when its joiner is removed. Review the original and cleaned text carefully before applying those changes to a document.

Can I clean only one occurrence?

The checkboxes operate by character type and change every occurrence of that selected type in the current text. They are not individual position selectors. For a single occurrence, isolate that fragment first, inspect it here, and replace only the reviewed fragment in your source.

Does a clean report prove that two strings are equal?

No. It means none of the supported hidden character types were detected. Visible differences, unsupported Unicode characters and different normalization forms may still matter. Use exact list comparison or the validation rules of the destination system to test equality.

Does the invisible character detector upload or save files?

Files are read in this browser tab and the source text is not sent to a comparison server. This tool does not automatically save your inputs. Keep your original elsewhere and copy or download the reviewed result before closing or refreshing the page.

Related tools