YOUR TEXT, IN FOCUS

Clean whitespace.

Trim unwanted spaces, tidy blank lines, and normalize line endings with explicit controls.

Free · No account
Text stays in this tab
0 LinesUTF-8 · TXT

Text is kept in memory only. Refreshing or closing this tab clears it. We do not upload your text or store it in your browser.
01 — How to use it

Less clutter. Same words.

  1. Paste your text or import a UTF-8 .txt file.
  2. Select only the cleanup operations you want.
  3. Apply changes, review the result, and copy it.
02 — A few useful details

Leading and trailing trimming affects spaces and tabs, not spaces between words. Blank-line cleanup keeps one blank line from each run. Line endings remain unchanged unless you select normalization.

Use UTF-8 plain text, up to 1 MB and 20,000 lines per input.

Input and output example

Example settings: Remove leading spaces / tabs + Remove trailing spaces / tabs

Input
  Hello  
Output
Hello

Common questions

Does this remove spaces inside sentences?

No. Trimming only removes spaces and tabs at the selected line edges. Collapsing blank lines and normalizing line endings are separate options. Use it before comparing text copied from different sources.

Which files can I import?

Paste plain text or import UTF-8 .txt files, up to 1 MB and 20,000 lines per input. PDF, Word documents and images are not supported directly; extract the plain text first. Text stays in the current tab's memory.