Share
Detect and remove invisible Unicode characters, zero-width spaces, and smart quotes.
Paste text above to scan for hidden and special characters.
Scan and clean text from invisible and problematic Unicode characters. Detects zero-width spaces (ZWSP, ZWNJ, ZWJ, BOM), bidirectional control marks, non-breaking spaces, soft hyphens, smart quotes, em/en dashes, ellipsis characters, and variation selectors — each with a live count before you clean. Choose exactly what to fix: strip invisible format characters, convert NBSP to regular spaces, straighten curly quotes, collapse repeated spaces, trim trailing whitespace, and normalize Unicode (NFC/NFKC). Bidi mark removal is opt-in so legitimate RTL text is never silently destroyed. Includes a highlight mode that renders every hidden character as a visible placeholder. 100% client-side — your text never leaves the browser.
Text Cleaner provides a targeted, client-side utility for detecting and removing invisible Unicode characters, zero-width spaces, and formatting artifacts that often break code or documents. With live counts for each issue and opt-in bidi mark removal, it gives users precise control over text normalization without sending sensitive data to external servers.
Good to know: Very large files or automated batch-processing pipelines may require a command-line script or programmatic library rather than a web-based utility.
Quickly identify and remove invisible Unicode characters, zero-width spaces, and problematic formatting from your text.
Paste your text into the cleaner
Copy the content you want to sanitize and paste it into the main input field. The tool will immediately scan for hidden characters and formatting issues.
Review detected invisible character counts
Check the live counters to see exactly how many zero-width spaces, bidi marks, or smart quotes are present. Use the highlight mode to render these hidden characters as visible placeholders.
Configure your cleaning preferences
Select specific options like stripping invisible format characters, converting non-breaking spaces, or straightening curly quotes. Toggle bidi mark removal if you are working with right-to-left text.
Apply normalization and whitespace fixes
Choose to collapse repeated spaces, trim trailing whitespace, or normalize Unicode to NFC or NFKC formats. These settings ensure your text is clean and consistent for any application.
Copy your cleaned text
Once the text looks correct in the preview, copy the sanitized result to your clipboard. All processing happens 100% client-side so your data remains private.
Estimated time: PT1M
Share this tool
Inspect every character: codepoint, name, UTF-8, HTML entity.
Convert text between uppercase, lowercase, camelCase, snake_case, and more.
Sort, deduplicate, reverse, shuffle, and clean text lines.
Compare two texts and highlight added, removed, and changed lines.
Count words, characters, sentences, and paragraphs.
Generate Lorem Ipsum placeholder text for mockups.
Live Markdown editor with GFM, syntax highlighting, and export.
Get Flesch-Kincaid, Gunning Fog, and reading ease scores for any text.
Translate text to Morse code and back instantly.
Browse, search, and copy emojis by category or name.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.
Convert Markdown to a fully customized, RTL-ready PDF.
Play local or online videos with HLS stream support, subtitles, playlist, and bookmarks.
Convert Markdown to a formatted Word .docx — live preview, RTL, tables, page setup, all client-side.
Generate speech from text using local AI models. Download as WAV. Runs entirely in your browser — private and free.