Text cleaner & whitespace remover

← All tools

Remove messy whitespace without a chain of find-and-replace operations. Clean line endings, tabs, blank lines, and spacing independently.

Your text never leaves the browser. Pasted content is not stored in the URL.

Input

Output

→ characters → lines → bytes characters removed

Cleanup options

About this tool

Copied text often contains a mix of Windows and Unix line endings, tabs, non-breaking spaces, or several blank lines. The presets solve the common cases, while the individual controls keep each transformation explicit.

Cleanup runs in a fixed order: special spaces and tabs, per-line trimming, repeated spaces, blank lines, then line-break conversion. This makes the result predictable even when several options are enabled.

Read more

Free books, courses, and software

Get my programming books, course editions, and complete software.

Get the download library →