Prompt Cutter

A browser‑based AI prompt compression tool, built as a single portable file with a BYOK approach to LLM‑assisted compression.

Prompt Cutter screenshot

My Role

End‑to‑end: design‑to‑code, architecture, frontend, build tooling, security hardening

Scale

Single self‑contained file, ~1,467 lines, four responsive breakpoints (393px–1462px)

Stack

Vanilla HTML/CSS/JS · Claude (Anthropic API) · Cloudflare Workers

Product Highlights

Cuts input token usage before it ever hits your AI chat.

Prompt Cutter trims a prompt down to what the model actually needs, so every paste costs less than it would have unedited.

Free and instant, no account needed.

Basic mode compresses prompts entirely offline, right in the browser, with zero setup and zero cost.

Turbo mode compresses smarter, on your dime.

Plug in your own Anthropic API key and Claude handles the compression with far more nuance than rule‑based trimming alone, without ever routing usage or cost through Prompt Cutter itself.

Literally see the results.

The diff view shows exactly what was cut, so you can see what changed before you paste the leaner version anywhere.

Works with any AI chat.

Compress once, then paste the leaner prompt into ChatGPT, Claude, or any other chat product you normally use.