Text Cleaner
Tidy text copied from a PDF, email or spreadsheet: trim, collapse whitespace, drop blank or duplicate lines, and strip punctuation, emoji or accents.
Text & clean-up options
Limits
- Options run in a fixed order: line endings, trim, tabs to spaces, collapse spaces, blank lines, join lines, smart quotes, accents, strip classes (punctuation, digits, emoji), then duplicate lines.
- “Remove accents” only strips combining marks; some letters (for example German ß or Nordic ø) do not become a plain ASCII fallback.
- “Strip emoji” uses Unicode extended pictographic characters and may also remove some symbols you wanted to keep.
- Very large pastes (over about 500,000 characters) are refused so the tab does not freeze. Split the work into smaller pieces if you hit that limit.
Cleaned text
How to use Text Cleaner
- Paste textType or paste the messy text, or load a local .txt file.
- Pick clean-up optionsChoose trimming, spacing, blank lines, duplicates, punctuation, emoji, accents or smart quotes.
- Copy or downloadThe result updates as you type. Copy it or download a .txt file.
Fix spacing and clutter without leaving your browser
Text copied from PDFs, web pages and office apps often arrives with odd spaces, blank lines, typographic quotes or hidden characters. This cleaner applies only the options you tick, in a fixed order, so you can see exactly what changed.
Accent removal decomposes letters with Unicode NFD and drops combining marks (so “café” becomes “cafe”). It is a mechanical step, not a translation, and can change the meaning of some words.
Frequently asked questions
Will cleaning change my line breaks?
Only if you turn on “Remove extra blank lines”, “Remove empty lines” or “Join lines into one paragraph”. Otherwise line breaks stay in place and line endings are normalized to LF.
Is my text sent anywhere?
No. Everything runs in your browser tab with JavaScript. Nothing you type or paste is uploaded, logged or stored on our servers.
Can I undo a clean-up?
The original text stays in the input box until you replace it. Use “Use as input” only when you want the cleaned text to become the new starting point.
Does it support languages other than English?
Yes for spacing, line and quote clean-up. Accent stripping and punctuation classes follow Unicode, so they work on many scripts, but word meaning is never interpreted.
Related tools
All toolsCase Converter
UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.
Sort Text Lines
Sort, reverse or shuffle lines of text, with unique and natural-number options.
Find and Replace
Find and replace text or regular expressions, with a match count and preview.
Word & Character Counter
Instant word, character, sentence, reading time, and keyword counts.