ToolNest
← All tools
Text tool

🧹 Text Formatter

A set of one-tap clean-up operations for messy text copied from PDFs, emails and spreadsheets — extra spaces, blank lines, duplicated lines and random line breaks.

How to use it

  1. Paste the messy text into the box.
  2. Tap the clean-up you need; operations can be combined one after another.
  3. Copy or download the cleaned result.

Example

A list pasted twice → “Remove duplicate lines” leaves each line exactly once.

Limitations

Operations change your text exactly as described and cannot be undone except with your browser’s undo (Ctrl/⌘+Z). “Remove line breaks” joins lines with spaces, which can merge words if lines were split mid-word in the original.

Frequently asked questions

Which operation fixes text copied from a PDF?

Start with “Remove line breaks”, then “Remove extra spaces” — that handles most PDF copy-paste damage.

Does sorting handle numbers?

Sorting is alphabetical (A–Z). Numbers sort as text, so “10” comes before “2”.

Related tools