Invisible Character Detector & Remover

Find hidden Unicode characters, inspect their type and position, then choose what to process.

How to use

These are example steps; replace the values for your task.

  1. Check the detected NBSP.
  2. Select only NBSP for cleanup and inspect the output.

Your text is not saved or sent anywhere.

About this tool

This tool identifies hard-to-see Unicode characters such as zero-width spaces, BOMs, line-breaking and bidirectional controls, and variation selectors. It can help when two strings look identical but fail to match, or when text copied from a spreadsheet, PDF, or website behaves unexpectedly.

ZWJ, ZWNJ, variation selectors, and bidirectional controls can be meaningful in languages, emoji, or text direction. They are shown but left unselected by default, so you can review them before making changes.

Your input, detected positions, and cleaned output stay in your browser. This tool does not send them to a server or store them in browser storage.

Example

“ABC” and “A​BC” may look identical, but the second string contains ZERO WIDTH SPACE (U+200B) after A. The preview displays it as “A⟦ZWSP U+200B⟧BC”.

Continue this task

Try a use case and check the result

Inspect unusual spacing or boundaries in pasted text by code point and position before removing anything.

Trying an example replaces the input and settings and runs the tool above. Restore previous input restores the preceding input and settings, not a saved copy of the calculated result; run again as needed. Existing storage rules apply.

After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.

Find a no-break space

Input and settings

Price[NBSP]10
[NBSP] represents one U+00A0 character

Expected result

Detected: 1
NBSP · U+00A0 · position 6
Selected by default. Processing converts it to a regular space.

Distinguish a regular space from a zero-width space

Input and settings

A B[ZWSP]C
[ZWSP] represents one U+200B character

Expected result

Detected: 1
ZWSP · U+200B · position 4
The regular space is outside detection. ZWSP is not selected by default.

How to read the result

Trying an example analyzes without deleting characters. Positions are one-based code-point positions. The output field retains the original text until you select Process. Detection count and the selected types to process are separate.

Scope and limits

Detection covers a defined set of invisible characters, not regular spaces, tabs, line breaks or every hard-to-see character. ZWJ, variation selectors and direction controls may carry meaning and are unselected by default. Visualization is limited to the first 20,000 code points; detection and processing cover the full input.

Verification: existing analyze and clean functions check codes, positions, default choices and NBSP-only processing. Applying an example does not call clean.

Continue with the next task

Replace a no-break space selectively

Example input

A B

Result

A B

Selected NBSP characters become ordinary spaces. Other supported invisible characters are removed when selected.

Detection covers the defined character set. Zero detections does not guarantee the absence of every invisible character or look-alike character.

Frequently asked questions

Should I remove every character the tool finds?

No. Some are required for emoji, certain writing systems, or text direction. If a type has a warning, remove it only when you know it is not needed.

How is NO-BREAK SPACE handled?

It is converted to a regular space by default, rather than removed, so words do not run together.

Is my text saved or uploaded?

No. Processing stays in your browser, and the tool does not use localStorage or sessionStorage. Sharing includes only the fixed tool title and canonical page URL.

Related tools

Inputs and storage

Keep any content you need before clearing. This tool does not autosave inputs or results. Reloading or closing the page, clearing inputs or resetting may discard your work.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16