← Projects

Trim Text

Web tool for cleaning up terminal-copied text: strips whitespace, dedents, counts tokens.

TypeScriptReact
No media yet

A simple web tool that cleans up text copied from terminals. When you copy text from a terminal, it often comes with trailing whitespace, inconsistent indentation, and other artifacts. Trim Text fixes all of that instantly.

Features

  • Strip trailing whitespace from every line
  • Dedent (remove common leading whitespace)
  • Token counting (useful for LLM context window estimation)
  • Instant processing — no server round-trips
  • Clean, minimal interface

Available at trim.xkel.me.