Text cleanup
Remove extra spaces/blank lines, normalise smart quotes, strip HTML tags and invisible characters.
Result
About Text cleanup
Text cleanup is a free online text tool. Remove extra spaces/blank lines, normalise smart quotes, strip HTML tags and invisible characters.
Enter your input, adjust the options (trim lines, collapse spaces, remove blank lines and collapse blank lines and more) and run it. The result appears right next to the form, is never stored, and you can copy or save it in one click. No account is needed.
How to use Text cleanup
- Type or paste your input into the form.
- Choose the options you need: trim lines, collapse spaces, remove blank lines, collapse blank lines and strip html.
- Press Run, or use Ctrl/⌘ + Enter.
- Copy or save the result from the panel on the right.
Text cleanup FAQ
What does Text cleanup do?
Remove extra spaces/blank lines, normalise smart quotes, strip HTML tags and invisible characters.
Is Text cleanup free to use?
Yes. Text cleanup is free, with no sign-up or account required.
Is my data safe?
Results are never stored. See our privacy policy for details.
What options does Text cleanup have?
You can set: Trim Lines, Collapse Spaces, Remove Blank Lines, Collapse Blank Lines, Strip Html, Normalize Quotes and Remove Invisible.
More text & writing tools
Word, character & sentence counter
Words, characters, sentences, paragraphs, lines, reading and speaking time.
✍️Reading-time calculator
Estimate reading time at a chosen words-per-minute.
✍️Case converter
Convert case: upper, lower, title, sentence, camel, pascal, snake, kebab, constant.
✍️Text sorter & deduplicator
Sort lines, remove duplicates and empty lines.
✍️Find & replace
Literal or regex find/replace (regex runs sandboxed with a timeout).
✍️Slug generator
URL-friendly slug (accents removed).
See all Text & writing tools →
Popular on Toolsera
QR code generator
Make a QR code for text, a link, a contact card (vCard), Wi-Fi, email, SMS, phone, WhatsApp, a map location, a calendar event or a UPI payment. Download as PNG or SVG, copy or share.
🛠️JSON formatter
Pretty-print JSON, optionally sorting keys.
📊CSV / TSV / JSON / XML converter
Convert tabular data between CSV, TSV, JSON, XML and a Markdown table.
🧮Percentage calculator
percent-of: a% of b | what-percent: a is what % of b | change: % change from a to b | increase: b increased by a% | decrease: b decreased by a%