How it works

1
Paste
Drop in your messy code or wordy prompt
2
Trim
One click strips out all the fluff and junk
3
Use
Paste the tiny version into Claude — save your limits

Trim it.

Paste code, a prompt, or a Claude response. TrimKit auto-detects and strips the right stuff.

Make it fit: tokens
0 tokens
Paste something to start
Before
0
After
0
Saved
0%

                    

Scrubber

Strip comments, docstrings, and dead whitespace from code. Supports JS, TS, Python, Go, Rust, C, HTML, CSS, SQL, and more.

Seen this before — use your cached trim?
0 tokens
Before
0
After
0
Saved
0%

                    

Squeezer

Remove filler, politeness, and fluff from your prompts. Output raw instructions only. Every wasted word is a wasted token.

Seen this before — use your cached trim?
0 tokens
Before
0
After
0
Saved
0%

                    

Memory Button

Paste your project files and get a compressed context block. Drop it into any new Claude conversation — no more re-explaining your stack.

0 tokens
Before
0
After
0
Saved
0%

                    

Batch Mode

Drop an entire folder or multiple files. Auto-detects code, prompts, and project context — processes everything in one shot.

+
Drop files or a folder here
Code, prompts, configs — we auto-detect everything
Total Before
0
Total After
0
Total Saved
0%

                    

Context Budget

Paste all your project files below. See a token expense report, pick the right loadout for your Claude plan, and find out exactly how many extra messages you'll gain by cutting each file.

Window: 200,000 tokens

Separate files with a comment or line like // filename.js — TrimKit auto-splits them.

Chrome Extension

Add a trim. button directly inside Claude. Trim code and prompts before hitting send — no tab switching.

claude.ai
Hi! I was wondering if you could please help me write a function that...
trim. Trim
Inline trimming Trim button appears next to Claude's input. One click strips comments and filler.
Smart detection Auto-detects code vs. prompts. Scrubs comments from code, squeezes filler from prompts.
Paste-back memory Remembers what you've trimmed before. Repeat pastes use the cached result instantly.
Message savings Shows token savings as Claude Pro messages saved, right in the badge.
Install in 60 seconds
  1. Download the extension folder below
  2. Open chrome://extensions in Chrome
  3. Enable Developer mode (top right)
  4. Click Load unpacked and select the downloaded folder
  5. Open Claude — the trim. button appears automatically
Download Extension
✂️ Saved 0 tokens
0 extra Pro messages
🔒
Unlock Memory Button
$9.99
one-time, yours forever
Unlock Now →