Text fix

Unicode Cleaner

Details

How to use Unicode Cleaner

What the tool does, how to run it, and what to expect from the result.

How to remove invisible Unicode characters from text

To clean invisible Unicode, paste your text into Unicode Cleaner and it scans for zero-width spaces, the BOM, direction marks, and other invisible or special characters, then strips them out. It also normalizes non-breaking spaces and the Unicode form so the cleaned text behaves consistently. The visible characters stay the same, only the hidden, structurally troublesome ones are removed.

This is useful because text copied from PDFs, chat apps, AI tools, or design software often hides characters you cannot see. Those hidden characters break search, diffs, validation, code, and database imports, and they are nearly impossible to catch by eye. Unicode Cleaner makes the text safe to paste anywhere.

When the cleanup is done you can copy the normalized result straight back out. The whole process runs locally in your browser, so even sensitive or unpublished text never leaves your device.

  • Text pasted from PDFs that carries hidden formatting marks
  • AI or chat output that includes zero-width characters
  • Code, CSV, or config values that fail validation for no visible reason
  • Database and CMS imports that break on invisible characters

How is this different from typography cleanup?

Unicode Cleaner focuses on invisible or structurally troublesome Unicode characters, not on visible punctuation styling. If you want to convert curly quotes, em dashes, or other visible smart punctuation, that is a different job handled by a smart quotes cleaner instead.

Because it targets hidden characters, Unicode Cleaner is the right tool when text looks correct on screen but misbehaves in systems, failing a comparison, breaking a regex, or corrupting an import. It removes the cause without altering the words you actually see.

Tips

Getting a better result out of Unicode Cleaner

Specific settings and thresholds, not general advice.

  • The characters this removes are invisible by definition: a byte order mark, zero-width spaces and joiners, and non-breaking spaces. If text is behaving strangely and looks fine, these are the usual suspects.
  • A non-breaking space is the classic cause of a search or a lookup that fails on text that looks identical. It is not the space key, and a string comparison knows it even when you cannot see it.
  • Zero-width characters arrive in text pasted from a website, a PDF, or an AI chat window, and they survive copy and paste unchanged, which is how they end up in a CSV column or a code identifier.
  • Clean before you paste into anything strict: a slug, a filename, a CSV, a config key, or a code identifier. That is where an invisible character turns into a bug rather than a curiosity.
  • This keeps every visible character exactly as it was. It is not a typography cleaner, so curly quotes, em dashes and ellipses survive; the Smart Quotes Cleaner is the tool for those.
Limits

What Unicode Cleaner does not do

The honest boundary, so you do not lose time finding it yourself.

  • It does not change visible text. Letters, punctuation, and spacing you can see are left alone.
  • It does not convert curly quotes or dashes to ASCII. That is the Smart Quotes Cleaner.
  • It does not translate or transliterate. Accented letters and non-Latin scripts pass through untouched.
  • It does not fix encoding damage. Text that already arrived as mojibake was broken before it got here.
At a glance

Who Unicode Cleaner is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Support teams, developers, content managers, and operators debugging copy-paste text issues.

Ideal for

Text that looks normal visually but breaks because of invisible Unicode characters or inconsistent normalization.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Does it remove zero-width and BOM characters?

Yes. Unicode Cleaner removes zero-width spaces and the byte-order mark (BOM) as part of its main cleanup, along with direction marks and other invisible Unicode.

How do I remove invisible Unicode characters from text?

Paste the text into Unicode Cleaner and it strips zero-width spaces, the BOM, direction marks, and other invisible or special characters, then normalizes the result so you can copy clean text back out.

Is this the same as a smart quotes cleaner?

No. Unicode Cleaner focuses on invisible or problematic characters, while a smart quotes cleaner handles visible punctuation like curly quotes and dashes.

Does it upload my text to a server?

No. Unicode Cleaner runs entirely in your browser. The text you paste is processed locally on your device and never uploaded.

Is it free?

Yes. Unicode Cleaner is free to use with no account, no limits to sign up for, and no upload required.

How do I remove invisible characters from text?

Paste the text here and run the cleanup. The tool strips the byte order mark, zero-width spaces and joiners, and non-breaking spaces, and leaves every visible character exactly as it was. It runs in your browser, so the text is not sent anywhere.

What is a zero-width space and why is it in my text?

It is a character with no visible width, used for line-breaking hints. It travels through copy and paste from websites, PDFs, and chat windows, and it silently breaks string comparisons, slugs, and CSV columns, because the text looks identical but is not.

Why does my text fail a search when it looks correct?

Usually a non-breaking space where a normal space should be. They render identically and compare differently, so a lookup, a filter, or an exact match fails on a value that looks right in every way.

Does this remove emoji or accented letters?

No. Anything visible is kept, including emoji, accents, and non-Latin scripts. Only the invisible troublemakers are removed.

Will it convert curly quotes to straight quotes?

No, and deliberately so. Curly quotes are visible typography, not invisible damage. The Smart Quotes Cleaner is the tool for converting them to plain ASCII.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon