Skip to main content
Text Tools
Recently added

Invisible Character Detector & Remover

Find and remove zero-width spaces, BOM, NBSP, bidi controls, and look-alike letters.

Introduction

Invisible characters such as U+200B, a byte order mark, or a non-breaking space sit in source code and documents without showing up in the editor. This detector marks each one with a badge, lists the code point and line, and can strip them while keeping emoji joiners. Look-alike letters are flagged only inside a word that is otherwise Latin. Tag characters used to hide prompt text are decoded in the page.

Common invisible characters

NameCode pointWhere it comes fromSafe to remove?
Zero-width spaceU+200BWebsites, chat apps, PDFsYes
Zero-width non-joinerU+200CPersian and Hindi text, copy-pasteOnly outside Indic or Arabic text
Zero-width joinerU+200DEmoji sequencesNot inside emoji
Word joinerU+2060Word processorsYes
BOMU+FEFFWindows Notepad, Excel CSVYes, at the start of a file
Non-breaking spaceU+00A0Word, Google Docs, HTML nbspReplace with a space
Narrow no-break spaceU+202FmacOS dates and French textReplace with a space
Soft hyphenU+00ADEbooks and CMS editorsYes
Right-to-left overrideU+202EAttacks and filename tricksYes
Tag charactersU+E0000–E007FHidden prompt textYes

Features

  • Badges for zero-width, NBSP, BOM, bidi, and tag characters
  • Look-alike letters inside Latin words
  • Hidden tag-character message decoder
  • Clean with emoji-safe ZWJ and variation selector options
  • Escape view and Markdown report
  • File drop up to 5 MB, processed locally

How to use

  • 1
    Paste text, use Paste from clipboard, or drop a text file.
  • 2
    Read the badges and the results table. Hover a badge for the code point and line.
  • 3
    Choose what to remove, then copy or download the cleaned text.

Example

Zero-width space in a variable name

Input
const price<ZWSP> = 100;
Output
const price = 100;

Benefits

  • Use Invisible Character Detector without installing a desktop app or browser extension.
  • Works well alongside Whitespace Remover and Find & Replace for adjacent steps in the same workflow.
  • Results stay in this browser tab until you copy or download them.

FAQs

It is Unicode U+200B. It has no width, so you cannot see it, but programs still treat it as a character. It is often copied from web pages, chat apps, and PDFs.

A zero-width space, a BOM, or a non-breaking space is the usual cause. Paste the line here and the badge shows the code point and column.

Most model output has no secret watermark. Copied chat text often does include non-breaking spaces or zero-width spaces from the page. Tag characters can also hide a message a model will read. This tool decodes that message.

CVE-2021-42574 showed that bidi controls can make code look different to a person than to a compiler. If this text looks like code and contains those controls, the page shows a warning.

No. U+200D joins emoji such as the family sequence. Keep ZWJ in emoji stays on by default so those sequences stay intact. A joiner outside emoji is safe to remove.

U+FEFF at the start of a file is a byte order mark some Windows editors add. JSON.parse and many shell scripts reject that first character. Remove BOM and download the file as UTF-8 without a BOM.

No. Detection and cleaning run in your browser. Nothing is uploaded.

Related guides

How to Find and Remove Invisible Characters (Zero-Width Spaces & More)

Learn what zero-width spaces, BOM, NBSP and bidi characters are, why they break code and text, and how to find and remove them with our free tool.


Developer resources