Collapse U+0020 only
Repeated-space cleanup reduces runs of two or more regular U+0020 spaces to one. NBSP, full-width spaces, and zero-width spaces remain unchanged by default.
037 · TEXT
Clean repeated spaces, line-edge whitespace, tabs, blank lines, and mixed LF/CRLF line endings using explicit rules.
You can also drop a TXT, MD, or CSV file anywhere in this workspace.
Local processing · No server upload · Maximum 1,000,000 characters
HOW TO USE
Type or paste text, or choose/drop a TXT, MD, or CSV file.
Choose repeated-space, line-edge, tab, blank-line, and output line-ending options.
Run the cleaner and review the cleaned result and change summary.
Edit the result if needed, then copy it or download it as a UTF-8 TXT file.
Use Clear all to reset the file, original text, result, and options for a new task.
CLEANUP GUIDE
Repeated-space cleanup reduces runs of two or more regular U+0020 spaces to one. NBSP, full-width spaces, and zero-width spaces remain unchanged by default.
The tool removes leading and trailing horizontal whitespace on every line rather than only trimming the document edges. Text content and line order stay intact.
TAB (U+0009) characters are deleted, so review tables, code, or text where tabs separate words or columns.
Lines that are empty after cleanup can be removed. Turn this option off when blank lines intentionally separate paragraphs.
Mixed CRLF, CR, and LF input is normalized internally, then emitted as LF or CRLF. This does not join or delete lines.
A browser textarea may visually normalize line endings. When exact Windows-style CRLF matters, use the downloaded TXT result as the reference.
IMPORTANT NOTES
FAQ
No. Line-ending normalization only makes CRLF, CR, and LF codes consistent.
Yes. Other cleanup options do not delete the lines themselves.
Yes. TAB characters are deleted, so review the result.
No. Typed text, TXT/MD/CSV files, and the cleaned result are processed locally in your browser.
Yes. Choose CRLF and download the TXT file.