FileBrixNo upload · Private
Processed locally — your file never leaves your device

Trim Whitespace

Trim leading and trailing whitespace from every line of text — entirely in your browser.

How it works

  1. Paste text, or open a file.
  2. Click Trim whitespace.
  3. Copy or download the result — leading/trailing whitespace on each line is removed.

Frequently asked questions

Is my text sent anywhere?
No. Processing happens entirely on your device.
Does this affect whitespace in the middle of a line?
No — only leading and trailing whitespace on each line is removed; internal spacing is untouched.