When to use it
Remove Extra Spaces tidies messy text. Use it on text copied from PDFs that comes out with a line break after every line, emails and documents with double spaces after full stops, data pasted from spreadsheets with stray tabs, or anything with uneven gaps and too many blank lines. Clean text is easier to read, edit, count and paste into websites and forms.
How to clean up text
- Paste your text into Your text, or press Example.
- Choose what to fix:
- Turn double spaces into single spaces
- Remove spaces at the start and end of lines
- Turn tabs into spaces
- Remove empty lines, or Keep at most one empty line between paragraphs
- Join broken lines into paragraphs (for text copied from PDFs)
- Read the Clean text, with a note of how many characters were removed.
- Press Copy result or Download .txt.
A worked example
You copy two paragraphs from a PDF report into an email, and every line ends with a hard break, so it looks like a poem on a phone. Paste it here and tick Join broken lines into paragraphs; Keep at most one empty line between paragraphs is already on. The lines rejoin into two proper paragraphs separated by one blank line, and the note shows how many characters were removed. Paste the clean version into your email.
Tips
- Start with the defaults (everything except “Remove empty lines” and “Join broken lines” is on), then change one option at a time and watch the result.
- Use Join broken lines only for PDF text; on poems, addresses or lists it would join lines you want to keep separate.
- Remove spaces before counting words or characters for strict limits.
- Check bullet lists after joining lines, since they may need their line breaks.
Common mistakes
- Removing all empty lines from long documents, which merges paragraphs into a wall of text. Keep one empty line instead.
- Joining lines in code or data, where line breaks matter.
- Expecting formatting to survive; the result is plain text.
Why double spaces happen
Many people learned to type two spaces after a full stop, and some apps add spaces when converting documents. Single spaces are the modern standard for web pages, emails and most published text.
Private by design
Your text is cleaned in your browser and never uploaded.
Related tools
Pull text from documents with PDF to Text, change words with Find and Replace, or count the result with the Word Counter.