IT

Clean up messy text.

Remove double spaces, broken line wraps, extra blank lines and hidden characters. See what changed, rule by rule.

Runs in your browser · nothing is uploaded

Loading…

Next step: Text formatter →

How it works

Three steps.

  1. Paste the text you copied from a PDF, an email or a web page.

  2. Leave the rules you need switched on. Each one shows how many fixes it made.

  3. Copy the clean text. Use Compare to see every change.

Related tools

Why copied text looks messy

PDFs store lines, not paragraphs, so copying breaks sentences at the end of every line. Web pages and chat apps add non-breaking spaces and invisible characters. Word processors turn quotes curly. The result: odd gaps, words that do not match in a search, and forms that reject your input.

What each rule does

  • Invisible characters: removes zero-width spaces, joiners, byte-order marks and soft hyphens.
  • Trim: removes spaces at the start and end of each line.
  • Collapse spaces: turns tabs, non-breaking spaces and runs of spaces into one space.
  • Fix line wraps: joins a line to the next when the sentence clearly continues (no final punctuation and the next line starts in lower case), and rejoins words split with a hyphen.
  • Empty lines: keeps at most one blank line between paragraphs.
  • Quotes: curly to straight, or straight to curly.
  • Dashes: makes dashes between words consistent.
FAQ

Questions.

Will it change my words?

No. It only touches spaces, line breaks, quotes, dashes and invisible characters. The Compare view shows every change.

Why did two lines join that should not?

The first line had no final punctuation and the next started in lower case. Switch off “Fix broken line wraps” or add punctuation.

What are zero-width characters?

Invisible characters that take no space. They come from web pages and chat apps and can break searches, passwords and form fields.