Skip to content

Clean Up Text

Tidy text copied out of a PDF, email or web page so it flows properly again.

Options for Clean Up Text

How to clean up text

  1. 1Paste the messy text.
  2. 2Choose which fixes to apply.
  3. 3Clean it up, then copy or download the result.

About this tool

Text copied out of a PDF is famously mangled. Every visual line becomes a hard line break, words are split across lines with hyphens, and spacing turns into a mess of double spaces and tabs. Pasted into an email or a document it looks broken, and fixing it by hand takes longer than writing it again.

Each fix is a separate option, so you keep control. Joining broken lines restores real paragraphs while leaving genuine paragraph breaks intact. Rejoining hyphenated words is essential for PDF text but should stay off for text with real hyphenated terms. Replacing curly quotes and em dashes with plain equivalents matters when the text is heading into code, a CSV or a system with limited character support.

What it's good for

  • Fixing a passage copied out of a PDF before reusing it.
  • Tidying text pasted from an email with hard wrapping.
  • Preparing scraped or OCR text for editing.
  • Normalising quotes and dashes before importing into a system.

Features

  • Selective fixes

    Turn each correction on or off independently.

  • Paragraphs preserved

    Real paragraph breaks survive the line joining.

  • Hyphenation repair

    Rejoins words split across PDF line ends.

  • Before and after counts

    See how much changed.

Questions people ask

Will it join paragraphs together?
No — blank lines are treated as real paragraph breaks and kept.
Should I turn on hyphen rejoining?
Yes for PDF text; no for text containing genuine hyphenated words.
Does it fix spelling or grammar?
No, it only corrects whitespace and character issues.

More utilities tools