What is the Space Remover?
Text copied from a PDF or a website often arrives with double spaces, spaces at the end of lines and empty lines everywhere. Codes and numbers copied from a bank app come with spaces you have to delete one by one.
Pick what to remove: every space and line break (for codes, numbers and keys), only double spaces, spaces at the ends of lines, or extra blank lines while keeping your paragraphs.
Features
All spaces
For IBANs, codes, card numbers and keys.
Double spaces
Turn runs of spaces into one.
Blank lines
Remove extra empty lines, keep paragraphs.
How to use the Space Remover
- 1
Paste your text.
- 2
Pick what to remove.
- 3
Copy the clean text.
Who it is for
Office work
Clean text copied from PDFs.
Banking and codes
Strip spaces from IBANs and reference numbers.
Developers
Tidy pasted values and keys.
Tips for better results
- To also remove hidden characters (zero width spaces and others), use Remove Invisible Characters after this tool.
Questions people ask
Is it free?
Yes, free and private: the text stays in your browser.
Can I keep my paragraphs?
Yes. Pick "Extra blank lines" or "Double spaces" instead of "All spaces".
Can I remove spaces but keep line breaks?
Pick "Double spaces and spaces at line ends": lines stay, extra spaces go. To remove every space, pick "All spaces".