Text Trimmer

Your workspaceProcessed on your device

A few things to know.

Accepts up to 200,000 UTF-16 code units. Trimming uses Unicode White_Space. The collapse mode replaces internal runs of ASCII spaces and tabs with one space. File downloads retain original line endings and any UTF-8 BOM.

  1. Paste text or open a UTF-8 file to preserve its original line endings in the download.
  2. Choose which ends to trim, or trim both and collapse internal spaces and tabs.
  3. Review the changed-line count, then copy the result or download a text file.