Text Formatter and Cleaner
Clean messy text in one click: extra spaces, broken lines from PDFs, empty lines, hidden characters, HTML and more.
How to use the Text Formatter and Cleaner
-
1
Paste your text
Paste text from a PDF, website, Word file or WhatsApp chat.
-
2
Pick what to clean
Tick the options you want, or press Clean all for the safe set.
-
3
Check the result
The clean text and how many characters were removed show at once.
-
4
Copy or download
Copy the clean text or save it as a .txt file.
Text from a PDF?
Turn on Fix broken lines. It joins lines that were cut in the middle of a sentence and keeps your paragraphs.
Pasting into WordPress or Word?
Turn on Hidden characters and HTML tags to stop strange spacing and broken layouts after you paste.
Cleaning a list?
Use Repeated lines and Sort lines A to Z to tidy lists of names, products or keywords in one click.
Questions people ask
How do I fix text copied from a PDF?
Turn on "Fix broken lines". It joins lines that were cut in the middle of a sentence, joins words split with a hyphen at the line end, and keeps real paragraphs.
What are hidden characters?
Some websites and apps add invisible characters like zero width spaces or special spaces. They can break layouts, search and forms. This option removes them.
Can I remove all line breaks?
Yes. Turn on "Put everything on one line" to turn the text into one long line, which is handy for spreadsheets and forms.
Will it change my words?
Only if you choose a case option or remove special characters. All other options only change spaces, lines and the items you choose to remove.
Is my text private?
Yes. Everything runs in your browser and nothing is sent to our server.