Clean Messy Pasted Text Online

Remove invisible zero-width spaces, smart curly quotes, em dashes, and strange formatting smuggled in from Word, PDFs, or AI assistants.

Fixed:
0 Characters
0 Words
0 Sentences
🧹 Remove
🔤 Convert
📑 Format
Copied to clipboard

What is Pasted Text Damage?

When you copy text from modern word processors (like Microsoft Word or Google Docs), PDFs, chat tools, or generative AI assistants, the text arrives with invisible formatting artifacts:

  • Invisible Zero-Width Characters: Zero-width spaces (\u200B), byte-order marks (\uFEFF), and soft hyphens (\u00AD) that silently break string equality, code compilation, database searches, and git diffs.
  • Typographic Smart Quotes: Curly quotes (“ ” ‘ ’ „ ‚) that cause syntax errors in terminal scripts, JSON files, SQL queries, and configuration files.
  • Em and En Dashes: Punctuation marks (— – ‒ ―) that interfere with command-line flags and hyphenated identifiers.
  • Trailing Whitespace & Strange Line Breaks: Ghost spaces and tabs at the ends of lines, plus runs of excessive blank lines.

How the 1-Tap Paste Repair Works

Text Cleaner's Clean pasted text engine executes a safe, deterministic 5-step normalization sequence:

  1. Strips zero-width characters outright while normalizing exotic Unicode spaces (such as non-breaking \u00A0 or thin spaces) to standard ASCII spaces.
  2. Converts smart quotes to standard straight double (") and single (') quotes.
  3. Converts em and en dashes into standard hyphens (-).
  4. Trims trailing whitespace from every line without touching intentional line starts.
  5. Collapses runs of 3 or more blank lines down to clean double newlines (paragraphs).

100% Client-Side & Private

Unlike other web utilities that upload your clipboard content to remote servers, Text Cleaner processes everything directly on your device using client-side JavaScript. Nothing leaves your browser.

How to use this tool:

  1. Paste or type your text into the editor box above.
  2. Click the highlighted action button to run the transformation instantly on your device.
  3. Click Copy to place the cleaned text onto your clipboard.

More Free Online Text Tools

Cleaning & Stripping
Clean Pasted Text Remove Em Dash Remove Line Breaks Remove Invisible Chars Straighten Quotes Strip HTML Strip Markdown
Case Converters
All 11 Case Converters Sentence Case camelCase Converter snake_case Converter
Formatting & Analytics
Remove Duplicate Lines Alphabetize List Word & Character Counter

Clean text from any app with the Share Sheet.

Select text in Safari, Mail, or Notes and share it to Clean Text. The cleaned version is copied back to your clipboard with a summary of what was fixed.

  • Works inside Safari, Mail, Notes, Word, and Slack
  • Counts and audits damage: '2 em dashes, 3 invisible characters removed'
  • 100% on-device: zero network requests, zero telemetry, full privacy
  • Available on iPhone, iPad, and Mac
Free for iPhone, iPad & Mac · iOS 17+
Text Cleaner: Case Converter App Screenshot