Clean up text
Clean up text
Paste your text, choose the options you need, then select Clean up. Your original text stays unchanged and the result is shown separately.
- Line endings are normalized even when every option is off.
- Your work cannot be restored after reloading or leaving this page.
- This tool is designed to process your text only in this browser, without sending it to a server or saving it.
Characters entered: 0 / 100,000 maximum
Lines: 0 / 10,000 maximum
You can clean up to 100,000 characters and 10,000 newline-separated lines at a time.
Spaces and line breaks count toward the character limit. An emoji or combined character may count as more than one even when it looks like one. Automatic line wrapping does not add lines.
Reset clears the original text, result and errors and turns every option off. It cannot be undone.
No result yet. Select Clean up to show it here.
Usage notes and limits
How to use
- The tool does not rewrite sentences, infer meaning, translate, sort, process files or join lines with commas. Changes to spacing or line prefixes can affect code, poetry, addresses and nested lists, so check the result.
- “Clean up spaces and tabs” only changes ordinary spaces (U+0020) and tabs (U+0009) and keeps line breaks. NBSP (U+00A0), full-width spaces (U+3000), zero-width spaces (U+200B) and U+FEFF are not changed.
- Even with every option off, CRLF and CR line endings become LF. Empty input counts as zero lines. U+2028 and U+2029 stay as text characters, not line separators. The clipboard’s original bytes, formatting and encoding are not kept as they were. You can clean up to 100,000 characters, including spaces and line breaks, and 10,000 newline-separated lines at a time. An emoji or combined character may count as more than one (technically, the count uses UTF-16 code units). These are processing limits, not guarantees for extremely large pastes or for memory safety and responsiveness on every device.
- With several options on, cleanup runs in this order: line endings → spaces and tabs → one layer of leading numbers or bullets → empty lines → duplicate lines. Options that are off are skipped, and earlier steps can change which lines later steps remove.
FAQ
- “Clean up” always starts again from the current original text and never continues from the previous result. Pasting a result back in is new input and can change further. Example: "- - A" → "- A" → "A"
- An empty result is still a valid result; copying stays off so your clipboard is not overwritten with nothing. “Copied to the clipboard.” appears only when the browser reports success and does not confirm pasting into another app. After changing the text or options, run Clean up again before copying.
- Switching the language on this page keeps your current input, settings and valid result, without processing again. If processing is under way, it continues and the completion message appears in the new language. Processing rules and units are the same in both languages, and your content is not translated. Opening this page in a new tab or from a copied address opens a new page without your current work.
- Moving to another page of this site while you have work asks first, because leaving clears it. Going back is not guaranteed to restore your work, and reload or tab-closing warnings may not appear in every browser. Save or copy any result you need before leaving. Clearing work in the app does not delete originals or results already saved on your device.