v1 · Pure Go · No telemetry

Clean the chrome out of your
AI CLI output.

Paste output from Claude Code, Copilot CLI, Cursor, or Gemini CLI — borders, padding, and hard-wrapped lines disappear. One command. Zero config. Runs locally — nothing leaves your machine.

No install needed for the demo 100% client-side WASM MIT licensed

Install in seconds

Pick your platform. Copy. Paste. Done.

~/install ai-clean
$ brew install TheAndruu/tap/ai-clean
# Includes shell completions for bash, zsh, and fish.
$ curl -fsSL https://github.com/TheAndruu/ai-clean/releases/latest/download/ai-clean_darwin_arm64.tar.gz | sudo tar -xz -C /usr/local/bin ai-clean
# Apple Silicon. Use _darwin_amd64 for Intel Macs.
$ curl -fsSL https://github.com/TheAndruu/ai-clean/releases/latest/download/ai-clean_linux_amd64.tar.gz | sudo tar -xz -C /usr/local/bin ai-clean
# Also need a clipboard helper: apt install xclip  (or wl-clipboard on Wayland).
$ go install github.com/TheAndruu/ai-clean@latest
# Requires Go 1.22+. Binary lands in $(go env GOPATH)/bin.
Then run ai-clean any time you copy from your AI CLI.

Try it right now

The same Go pipeline as the CLI, compiled to WebAssembly. Nothing is uploaded.

Paste messy text here
Cleaned output

Why ai-clean

Private by default

Runs locally — as a CLI, or in your browser via WebAssembly. Your text never touches a server.

Smart, not aggressive

Detects markdown tables, code fences, and indentation. Strips chrome but keeps structure intact.

Save AI tokens

No more asking the AI agent to format its last message. Quickly format to paste into notes or share as a message to a coworker.

Ship cleaner copy. Star the repo.

If ai-clean saved you a few seconds of manual cleanup, a star helps other people find it.

Star on GitHub Report an issue