Skip to main content
Pocuvo

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.

Cleanup options
Option details
Remove duplicate lines

Keeps the first of lines that match exactly, including case and spaces, in their original order. Even with empty-line removal off, repeated empty lines may be reduced to one. Example: "A / a / A" → "A / a"

Remove empty lines

Removes lines that are empty or contain only spaces and tabs. Lines with only special spaces are kept. The empty line after a final line break is removed too. Example: "A / (empty line) / B" → "A / B"

Clean up spaces and tabs

Removes spaces and tabs at the start and end of each line and turns runs inside a line into one space. Indentation and alignment are lost. Example: " A B " → "A B"

Remove leading list numbers and bullets

Removes one layer of 1. 1) (1) - * + • at the start of a line when a space or tab follows. "1.item" without a space is kept. Example: "- apple" → "apple"

Space cleanup may remove indentation. Prefix removal can also remove numbers that look like years. For example, "2026. Plan" becomes "Plan". The meaning of your text is not interpreted.

Lines that look the same but use different characters are not treated as duplicates. Special spaces, full-width characters and Hangul composition are not changed.

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.

Leaving will clear your text and cleaned result. Leave this page?