🧹
Developer/Text Deep Cleaner

Text Deep Cleaner

Remove zero-width characters, invisible control chars, BOM, soft hyphens, and hidden Unicode from any text. 100% browser-based.

100% LOCAL11 cleaning optionsZero-width removalControl charsLive preview
Saved Presets· Auto-save on
▾
The CalculatorPage 1
Deep-clean invisible characters from copied text
PDF copy-paste, web scraping, and AI output often contain zero-width spaces, BOM, soft hyphens, and control characters that break formatting. This tool finds and removes them all.
Cleaning Options
Input
0 chars
Cleaned Output
Data Source & Legal Disclaimer
Effective: 2026
Sources: Browser-side processing (no external API)

This tool runs 100% in your browser. All computation happens locally on your device — your input is never uploaded to any server. Results are for reference only.

See all data sources & update policy →
How it worksPage 2

How the deep cleaner finds invisible characters — illustrated

Invisible characters are real Unicode code points that render with zero width — they occupy a position in the string but show no glyph. PDF copy-paste, web scraping, and AI output routinely smuggle in zero-width spaces (U+200B), byte order marks (U+FEFF), soft hyphens (U+00AD), control characters (U+0000–U+001F), and bidi overrides (U+202E). The cleaner scans every code point against a table of known ranges and strips each match in a single left-to-right pass.

From raw text to cleaned output
RAW TEXTHeU+200Bllo␣U+FEFFworU+00ADld␣Unicode range matcher — single left-to-right passU+200B · U+200C · U+200D · U+FEFF · U+00ADU+0000–U+001F · U+2028–U+202ECLEANED TEXTHello␣world␣−3 hiddenHidden code points carry no visual width —they live in the string and surface as bugs.

Each highlighted diamond is a hidden code point the scanner matches and removes — the visible letters never change.

Worked example

Priya is a QA engineer who just pulled a 2,400-character test case out of a PDF spec. The formatter silently rejects it, so she runs it through this cleaner to find out why.

  1. Scan:The tool reports 14 invisible characters in the 2,400-character string — 3 zero-width spaces (U+200B), 1 byte order mark (U+FEFF), 2 soft hyphens (U+00AD), 6 control characters, and 2 bidi overrides (U+202E).
  2. Clean:She keeps all 11 options enabled and runs the cleaner; the 14 hidden code points are removed in one pass, leaving 2,386 visible characters.
  3. Inspect:The Removal Details panel breaks the count down per category, so she can tell which source introduced each character.
  4. Verify:She re-pastes the cleaned output — the formatter accepts it, and a diff-checker confirms that only invisible characters changed.
FAQ & detailsPage 3

Remove zero-width spaces, BOM, soft hyphens, control characters, and hidden Unicode from any text. Everything runs locally; nothing is uploaded.

FreeToolHub Text Cleaner is a free browser-based tool — remove zero-width spaces, BOM, soft hyphens, control characters, and hidden Unicode from any text. No signup, no upload; everything runs locally in your browser.

About this tool

What is this tool?

Remove zero-width spaces, BOM, soft hyphens, control characters, and hidden Unicode from any text. Fix copy-paste glitches. Free, no signup.

11 cleaning optionsZero-width removalControl charsLive preview

What Is the Text Deep Cleaner?

The Text Deep Cleaner is a free, browser-based tool that finds and removes invisible Unicode characters that plague text copied from PDFs, websites, AI chatbots, and word processors. It targets 11 specific character categories: zero-width spaces (U+200B/C/D), BOM/zero-width no-break space (U+FEFF), soft hyphens (U+00AD), control characters (U+0000-001F), format characters (line/paragraph separators, bidi override), and special block characters. Unlike simple find-and-replace, this tool scans every byte and shows exactly what was removed.

Who Should Use This Tool?

Writers and translators who paste text from PDFs and get broken formatting. Programmers whose code breaks because of hidden characters in copied strings. SEO professionals cleaning scraped content. Students copying citations from academic papers. Anyone whose text has mysterious gaps, broken links, or unexplained formatting issues after copy-pasting from another source.

How to Use the Text Deep Cleaner

Paste your text into the input field. The tool instantly shows how many invisible characters it detects. Toggle individual cleaning options to customize what gets removed. Click Clean Text to process. The cleaned output appears on the right with a detailed breakdown of what was removed per category. Copy the result or download as a file. All processing happens locally — your text never leaves your browser.

Frequently Asked Questions

What are zero-width characters?

Zero-width characters are Unicode characters that take up no visible space but exist in the text. They include zero-width space (U+200B), zero-width non-joiner (U+200C), and zero-width joiner (U+200D). They are often inserted by word processors, websites, and AI tools, and can break code, links, and formatting when the text is copied elsewhere.

Why does my text look fine but break when I paste it?

Invisible characters like BOM, soft hyphens, and zero-width spaces are not visible in most editors but can cause issues when pasted into code editors, databases, or form fields. This tool detects and removes them so your text works everywhere.

What invisible characters does the text cleaner remove?

It targets the usual suspects that break layouts and search: zero-width spaces, zero-width joiners, byte-order marks (BOM), soft hyphens, control characters, and bidirectional overrides — plus normalization of tabs, CRLF line endings, and repeated blank lines. Each cleaning step is a toggle, so the report shows exactly what was found and what was removed.

Why does my text contain hidden characters at all?

Copying from word processors, web pages, and PDFs drags formatting along: Word inserts soft hyphens at line breaks, web CMSes add zero-width spaces, and some sites embed BOMs that corrupt string comparisons. They are invisible in every editor but cause subtle failures — CSS not matching, duplicate detection missing, and search indexes missing terms. The cleaner surfaces them so you can see what was hiding.

Can I choose which cleaning steps are applied?

Yes — every step is a switch, defaulting to the safe set (invisible-character removal and whitespace normalization). You can enable aggressive options like stripping all line breaks or punctuation as needed, and the input is never modified: the result panel shows the cleaned output alongside a per-step breakdown of what changed.

Is my text uploaded anywhere when I clean it?

No. All processing is local string manipulation in your browser — nothing leaves your device and nothing is stored server-side. Your input/output presets can be saved as local snapshots (IndexedDB) to reuse the same cleaning configuration on future documents.

Other names for this tool

This tool is also known by these tasks — each link opens the same tool with a focused guide:

Related tools

Joke of the Day
Sep 29

Why did the cookie go to the doctor?

Free core, no account

Keep the Free Edition Free

No signups, no data sold. Every tool is free to use — the free tier allows 5 downloads or saves per day, and the optional Pro plan ($7/mo, $59/yr) adds unlimited downloads, batch processing, white-label exports and an ad-free experience.

☕Support me on Ko-fi— support the free tier

100% of proceeds go towards hosting & building more free tools.