Text cleaner
Remove extra spaces and empty lines, fix line breaks and hyphens, delete duplicate lines and leftover formatting after copying from a PDF. Handy for office work, study and preparing texts. Works locally and free.
Your files are never uploaded to a server. Everything runs on your device.
How to use
- Paste your text or open a .txt, .pdf or .docx file.
- Tick the clean-up options you need.
- Press Clean text, then copy the result or download it as .txt.
When this tool helps
Text copied from a PDF often arrives with a line break at the end of every line, words torn in half by hyphens, double spaces and empty lines. Fixing that by hand in a long text takes a long time. The cleaner repairs the common problems in one pass so the text is ready for a document, a message or a translation.
Tips for a better result
- Tick only the options you need. Joining lines is right for running prose, but not for poems, lists or addresses.
- Keep paragraphs when the source has them, so the structure of the text survives.
- You can open a .txt, .pdf or .docx file directly instead of pasting.
- Read the result once before you use it. A hyphen that belongs to a real compound word may be joined by mistake.
Common problems and how to fix them
Lines of a list were glued into one
Switch off the option that joins broken lines and run the cleaner again.
Text from a scanned PDF does not load
A scan has no text to read. Recognize it first with OCR: text from PDF and photo.
What happens to your file
The text is processed in your browser and is not stored. This matters when you clean letters, contracts or notes that contain personal details.
FAQ
Is my text sent anywhere?
No. The text is processed in your browser and stays on your device.
How are broken PDF lines fixed?
Lines that end without a full stop are joined into one paragraph and words split by a hyphen at the line end are glued back together.
Can I keep paragraphs?
Yes. Choose to keep one empty line between paragraphs, remove all empty lines, or leave them as they are.
Is it free?
Yes, free, with no sign-up.