Skip to content
LineOtter

Find and remove invisible characters

Text copied from web pages, PDFs or chat apps can carry characters you cannot see. They make lookups fail, break matching and stop codes from validating. Paste the text to see where they are.

Runs in your browser. Nothing is uploaded.

Loading tool…

How to use

  1. Paste your text.
  2. Review the list of hidden characters and their positions.
  3. Choose what to clean, then copy or download the result.

Common uses

  • A product code, coupon or password copied from a web page is rejected even though it looks right.
  • Spreadsheet lookups fail between two columns that appear identical.
  • A CSV import adds a strange symbol at the start of the first column name, caused by a byte order mark.

Example

Input
SKU​-1042 (with a hidden zero-width space)
Result
SKU-1042

Reported as line 1, column 4: zero-width space.

Good to know

  • What it finds: zero-width spaces, non-breaking spaces and byte order marks (U+200B, U+00A0, U+FEFF).
  • Positions: shown as line and column, both starting at 1.
  • Where they come from: web pages, PDFs, Word documents and chat apps such as WhatsApp or Slack add them when you copy text.
  • Cleaning: zero-width spaces and byte order marks are removed; non-breaking spaces become normal spaces.
  • Left alone: joiners and direction marks, because emoji and some languages need them.
  • Text stays in your browser tab and is not saved.

Questions

Why does my VLOOKUP or MATCH fail on values that look identical?

One of them often contains a non-breaking space or zero-width space. Clean both columns here, then try again.

Where do invisible characters come from?

Web pages use non-breaking spaces to keep words together, chat apps and word processors insert zero-width spaces, and some programs add a byte order mark at the start of text files. Copying text carries them along.

Will it remove normal spaces or line breaks?

No. Only the three listed characters are affected, and only the ones you tick.

Can I see where the characters were?

Yes. Each one is listed with its line and column before you clean anything.