Whitespace Trimmer
Normalize messy whitespace in text by collapsing repeated spaces, tabs, or mixed space+tab runs into a single space. Useful for cleaning copied text from PDFs, emails, spreadsheets, and logs; formatting JSON/CSV headers; and fixing alignment issues caused by inconsistent tab/space usage. Choose whether to compress spaces, tabs, or both—output is generated separately so you can compare before/after safely.
Text
Try it
Examples
a b
a b
abc
a b c
a b
a b
Related tools
Remove Duplicate Lines
Remove duplicate lines while keeping the first occurrence of each value. Useful for cleaning email lists, log output, keyword exports, CSV snippets, copied spreadsheet columns, and prompt inputs before you paste them elsewhere. ToolMill runs entirely in your browser, so sensitive text never has to leave your device.
Text
HTML to Plain Text Converter
Convert HTML to plain text when cleaning email templates, scraped snippets, CMS exports, support content, or copied web pages. It helps you remove markup quickly while preserving readable text for notes, documents, prompts, or downstream processing. ToolMill does the conversion in-browser, which is useful when the source HTML contains private or client-sensitive content.
Text
Markdown to HTML Converter
Convert Markdown to HTML when preparing blog posts, documentation, README content, CMS entries, emails, or knowledge-base articles. It is helpful for checking how headings, emphasis, lists, and code-style content will render before publishing. ToolMill runs locally in your browser, making it a quick privacy-friendly alternative to online converters that upload your draft text.
Text
Remove Empty Lines from Text
Remove blank lines from pasted text instantly while keeping the remaining lines in the same order. This is useful for cleaning logs, lists, copied spreadsheet columns, CSV or TSV snippets, code blocks, email drafts, and text pulled from PDFs or chat exports. ToolMill runs entirely in your browser, so private text stays on your device.
Text
