textcleanups

Clean up messy text in one paste

Fix the spacing, broken lines and stray characters left behind when you copy text from PDFs, emails and websites.

Options
Blank lines

Your text stays in your browser. Nothing is uploaded or saved.

All text tools

Lines

Remove line breaks
Turn text broken across many lines back into clean paragraphs.
Remove duplicate lines
Keep the first copy of every line and delete the repeats.
Remove empty lines
Delete blank lines, or cut long gaps down to one.
Sort lines
Sort a list A to Z, Z to A, by length, reversed or shuffled.

Spaces and characters

Remove extra spaces
Collapse double spaces, trim lines and replace tabs.
Remove special characters
Strip symbols and keep only letters, numbers and punctuation you choose.
Remove emojis
Delete every emoji, including skin tones, flags and combined emoji.
Remove accents
Turn é into e, ü into u and ß into ss.
Convert smart quotes
Turn curly quotes, long dashes and ellipses into plain text.

Formatting and counting

Case converter
Switch text to sentence case, Title Case, UPPERCASE, camelCase and more.
Find and replace
Replace words or patterns across your text, with regex support.
Strip HTML tags
Turn HTML into clean, readable plain text.
Word counter
Count words, characters, sentences and reading time as you type.

Why pasted text gets messy

Text rarely survives copy and paste intact. PDFs end every line with a hard break because they store lines, not paragraphs. Web pages add non-breaking spaces and invisible characters for layout. Word processors swap straight quotes for curly ones. Emails wrap long lines. The result looks almost right but breaks in a document, a spreadsheet or a form.

What the cleaner fixes

  • Extra spaces: double spaces, tabs and spaces at line starts and ends.
  • Blank lines: long gaps are reduced to one blank line, or removed entirely.
  • Broken lines: lines split mid-sentence, like text copied from a PDF, are joined back into paragraphs, including words split with a hyphen.
  • Invisible characters: zero-width spaces and similar characters that break searches, formulas and code.
  • Odd spaces and quotes: non-breaking spaces become normal spaces, and curly quotes can be straightened.

Need more control? Each fix has its own tool with more options in the list above.

Questions

Is textcleanups free?

Yes. Every tool is free to use with no sign-up and no limits on how often you use them.

Is my text private?

Yes. All the cleaning happens in your browser on your own device. Your text is never uploaded to a server or saved.

Does it work on my phone?

Yes. The tools work in any modern browser on phones, tablets and computers.

What's the difference between this cleaner and the single tools?

This page combines the most common fixes into one step. The single tools go deeper on one job, with more options, such as sorting lines or converting case.