Clean up text

Remove extra spaces, empty lines and line breaks from a pasted text.

The data entered in the form are processed only in your browser and will not be saved or sent anywhere.
Lines: 0

Text clean-up

Text copied from a PDF, an e-mail or a website often has double spaces, tabs, empty lines and line breaks in the middle of sentences. Tick what to remove and copy the clean text.

By default spaces at the ends of lines are trimmed, double spaces become one, tabs become spaces and empty lines go.

"Remove line breaks" puts everything on one line - useful for text broken by a PDF.

Examples

  • Text copied from a PDF with a line break after every few words, joined back into paragraphs.
  • Double spaces after dots removed.
  • A list with empty lines and spaces at the ends, cleaned before an import.

Who it is for

Anyone who copies text from PDFs, emails or websites, and people preparing data for import.