Basic Text
Remove Extra Spaces
Collapse repeated spaces and tabs down to a single space.
Collapses runs of two or more spaces down to a single space, which is what turns text pasted from a PDF or a spreadsheet back into something readable. It never touches line breaks, so the structure of the document is preserved.
Options
Treat tabs as spaces so mixed runs collapse too.
Removes the space at the start and end of every line.
InputText is processed entirely in your browser.
0lines0words0characters0 B
Output
0lines0words0characters0 B
Options explained
- Include tabs — Treat tabs as spaces so mixed runs collapse too.
- Also trim each line — Removes the space at the start and end of every line.