Text Cleaner
Clean extra whitespace, normalize Unicode accents, or remove non-printing control characters locally.
Loading tool…
How to use Text Cleaner
Repair common copy-and-paste problems with a deliberate cleanup mode. Review the result before replacing an original where spacing or encoding matters.
- Paste text and select one cleanup operation.
- Run the tool and compare the result with your original.
- Copy the cleaned text when the chosen transformation is appropriate.
Good to know
- Whitespace cleanup changes indentation and trims blank lines at the beginning and end; internal blank lines remain.
- NFC combines canonically equivalent Unicode sequences; it is not transliteration or accent removal.
- Control cleanup preserves tabs, line breaks, emoji joiners, and bidirectional marks. It is not an HTML sanitizer or security filter.
Common questions
Is it safe for source code?
Use care. Whitespace cleanup can change indentation or text literals, so review code with Text Diff before using the result.
Will control cleanup break joined emoji?
It retains zero-width joiners and variation selectors, which many emoji sequences need.
Keep going with related tools
All text →Remove Empty Lines
Remove blank lines from text, optionally retaining lines that contain spaces or tabs.
TextFind & Replace
Replace literal text once or everywhere, with case-sensitive matching and no regular-expression execution.
TextText Diff
Compare two texts line by line and download an easy-to-read difference report, entirely in your browser.
TextText Indenter
Add or remove a fixed indentation prefix on non-empty lines using spaces or tabs.
FilesANSI Styled Log Exporter
Export selected ANSI SGR log colors and emphasis as standalone HTML with original source-span evidence, without running a terminal.
TextWhitespace Auditor
Report line-ending styles, indentation, trailing whitespace, BOM, and final-newline state without editing input.