Remove Extra Spaces
Paste text with extra spaces and get it cleaned up.
Free · Runs in your browser · Your text is never uploaded
Cleaning up spacing
Double spaces creep in from typing habits (two spaces after a period), copy-paste from different sources, and OCR. This tool collapses any run of spaces, tabs and non-breaking spaces into one and trims spaces from the start and end of every line, leaving your line breaks exactly where they are.
Spreadsheet imports, form data and code comparisons often fail because of invisible extra spaces, so cleaning first can fix “identical” values that do not match.
Need more options? Open the full Text Cleaner.
Frequently asked questions
How do I remove double spaces from text?
Paste it above. Multiple spaces are collapsed into one automatically.
Does it remove spaces at the start of lines?
Yes, with “Trim spaces at the start and end of lines” ticked, which is the default.
Does it remove tabs?
Tabs and non-breaking spaces inside a line are collapsed to a single regular space.