Text cleaner

Clean whitespace, blank lines, duplicate lines and selected invisible characters.

Calculated from your inputsProcessed locally

Preparing

0 / 50000 UTF-16 units. Oversized text is not processed or silently truncated.

Cleanup steps

Collapsing spaces can change indentation. Invisible cleanup preserves emoji/script joiners; this is not an HTML security sanitizer.

Select the action to see results. Editing text or options clears the previous result.

Text is processed on this page, without automatic saving, history logging or server upload. The clipboard is not read automatically.

How to use

Choose the steps you need, then select Clean. Review the separate output; the original is never overwritten.

Methodology

Applies optional Unicode normalization, invisible removal, horizontal whitespace collapsing, line trimming, blank/duplicate filtering and outer trimming in order.