UnQTools
Text Runs in your browser

Text Trimmer

Trim whitespace, leading/trailing characters, empty lines, and more. Multi-line batch, custom char trim, and 10+ extras. 100% private.

100% Private Works Offline Instant

About Text Trimmer

Trim whitespace, leading/trailing characters, empty lines, and more. Multi-line batch, custom char trim, and 10+ extras. 100% private. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.

FAQ

What can this tool trim?

Leading/trailing whitespace (spaces, tabs, newlines), internal double-spaces, empty lines, specific custom characters, quotes, markdown syntax, HTML tags, zero-width characters, and BOM markers.

What extras does this tool have?

Extras: (1) Trim leading whitespace, (2) Trim trailing whitespace, (3) Trim both, (4) Collapse internal whitespace, (5) Remove empty lines, (6) Custom character trim, (7) Strip quotes (single/double/backtick), (8) Strip markdown syntax (* _ # `), (9) Strip HTML tags, (10) Strip zero-width chars (U+200B, U+FEFF), (11) Strip BOM, (12) Trim each line individually, (13) Batch mode (one item per line), (14) Show before/after diff stats.

Search tools and actions

Search across all 645 tools, categories, and quick actions.