About this Text Beautifier
Text copied from PDFs, emails, websites or Word documents often has doubled spaces, stray tabs and too many blank lines. This text beautifier cleans it up in one click.
Choose which fixes to apply with the checkboxes in the toolbar: trim line ends, collapse blank lines, collapse double spaces, turn tabs into spaces, and sentence case.
Features
- Remove extra spaces between words
- Remove trailing whitespace
- Collapse multiple blank lines
- Convert tabs to spaces
- Fix sentence case
- Normalise Windows and Mac line endings
How to use
- Paste your text into the Input box.
- Tick the clean-up options you want.
- Press Beautify.
- Copy the cleaned text.
Frequently asked questions
How do I remove extra spaces from text?
Paste the text above, keep “Collapse double spaces” ticked and press Beautify.
How do I remove blank lines?
Keep “Collapse blank lines” ticked. Runs of empty lines become a single blank line.
Does it change my words?
Only if you tick Sentence case, which changes capitalisation. All other options only change whitespace.
More free formatters
- BeautifyAll-in-one beautifier
- JSON Beautifier & FormatterFormat & validate JSON
- XML Beautifier & FormatterPretty print XML
- HTML Beautifier & FormatterClean up HTML markup
- CSS Beautifier & FormatterFormat CSS, SCSS & LESS
- JavaScript Beautifier & FormatterBeautify JS code
- TypeScript Formatter & BeautifierFormat TS code
- SQL Formatter & BeautifierFormat SQL queries
- YAML Formatter & ValidatorFix YAML indentation
- Markdown FormatterTidy Markdown docs
- GraphQL FormatterFormat GraphQL queries