Skip to content
CleanGlyph home

Zero Width Space Remover

Find and remove U+200B zero width spaces from copied text. Only zero width spaces are removed — joiners, non-breaking spaces and other Unicode stay as they are.

Your text never leaves your browser.

0 code pointsAnalyzed as you type

Zero width spaces

HelloZWSPworld

Paste text to find U+200B zero width spaces. Each one appears as a labelled token you can select.

What is a zero width space?

A zero width space is the Unicode character U+200B. It takes up no space on screen and only tells software where a line may wrap. When text is copied, it often comes along unseen, sitting in the middle of a word or number.

HelloZWSPworldlooks like “Helloworld”, but has 11 code points

Why zero width spaces appear in copied text

  • Copied web pages

    Sites and CMS editors insert U+200B to allow line breaks in long words, URLs and code samples.

  • PDFs and documents

    Text extracted from PDFs or word processors can carry break hints that become hidden characters.

  • Chat and social apps

    Messages are sometimes padded with zero width spaces, which then travel along when copied.

  • Deliberate hiding

    Zero width spaces are inserted inside words to break keyword filters or fingerprint copied text.

What zero width spaces can break

  • Code and identifiers

    A variable or JSON key with U+200B inside is a different name, so code fails in confusing ways.

  • URLs and links

    A link can look right but point nowhere, or a pasted domain can fail to resolve.

  • Search and matching

    Spreadsheet lookups, database queries and find-in-page miss text that looks identical.

  • Form validation

    Emails, usernames and IDs pasted with a hidden character fail checks for no visible reason.

Characters this tool does not remove

This remover changes only U+200B. Other invisible characters can be meaningful, so they are shown in the preview but left exactly as they are.

  • U+200DZero width joinerJoins emoji sequences and shapes several scripts.
  • U+200CZero width non-joinerRequired for correct spelling and shaping in Persian and other languages.
  • U+00A0Non-breaking spaceA spacing character with visible width that prevents line wrapping.
  • U+FEFFByte order markMay be meaningful at the start of encoded text or a file.
  • U+200E/FDirectional marksControl the order of mixed left-to-right and right-to-left text.

Need to clean those too? Use the Invisible Character Detector to choose what happens to every hidden character, or the Text Difference Checker to find why two strings do not match.

Frequently asked questions

What is a zero width space?

A zero width space is the Unicode character U+200B. It has no visible width and tells software where a line is allowed to break. In copied text it usually appears by accident, hidden inside words, numbers, IDs or URLs.

How do I remove a zero width space?

Paste your text into the Zero Width Space Remover, check the highlighted ZWSP tokens, then select Remove zero width spaces. Copy the cleaned result. Only U+200B is removed; all other characters stay the same.

Why are zero width spaces in my text?

They are often added by websites, PDFs, chat apps, content management systems and word processors to control line breaking, and they survive copy and paste. Some are also inserted on purpose to hide text or break keyword matching.

Can zero width spaces break code or URLs?

Yes. A zero width space inside a variable name, JSON key, command or URL makes it a different string. Code may fail to compile, commands may not run, and links may point to the wrong address while looking correct.

Does this tool remove zero width joiners?

No. Zero width joiners (U+200D) and zero width non-joiners (U+200C) are kept because they are needed for emoji sequences and for correct shaping in scripts such as Persian, Arabic and Hindi. Use the Invisible Character Detector if you want to review them.

Is my text uploaded?

No. Detection and removal run entirely in your browser. Your text is not sent to a server, stored or included in analytics.