Text Tools
Text Cleanup
Clean pasted text in one pass: trim each line, collapse repeated spaces, drop blank or duplicate lines, sort, and optionally join everything into one line.
- Input
- fmtText
- Output
- TEXT
- Runs
- Your browser
shortAnswer
ToolBoxAll's Text Cleanup applies a fixed, reproducible pipeline in one pass: collapse repeated spaces, trim each line, drop blank lines, remove duplicate lines, sort (A→Z, Z→A, by length or numeric), and optionally join everything into a single line.
- keyFact
- Six independent toggles, fixed order
- keyFact
- Dedupe is case-sensitive by default
- keyFact
- Output uses \n line endings only
reviewedOn 2026-11-20
Output
Output appears here as you run the tool.
Tip: this tool runs entirely in your browser — your input never leaves the device.
How it works
three steps- 01
Paste the raw text.
- 02
Switch off any step you want to keep.
- 03
Copy the result or download it as .txt.
About this tool
Every step is a toggle, and the order is fixed so results are reproducible: normalise spaces → trim → drop blanks → dedupe → sort → join. Dedupe is case-sensitive by default; sorting offers A→Z, Z→A, by length, or numeric. Nothing is sent anywhere.
| Input | fmtText |
|---|---|
| Output | TEXT |
| Batch | One at a time |
| Per-file limit | — |
| Processing | Your browser |
| Account | Not required |