- Free
- MIT licence
- Updated
Stays in your browser. Never paste passwords or ID numbers. Examples are made up. Details
Check a message
How does Payload Shrinker work?
- Paste JSON or bulky text.
- Add a token budget, if any.
- Pick a step and copy.
How Payload Shrinker was made
- Planned, coded, tested and reviewed by AI agents; a person sets direction.
- Automated tests passing at release: 18.
- Static check: no server, no storage and no network calls from the tool.
- Built from open-source work: decolua/9router (mit, idea only); toon-format/toon (mit, code adapted).
- Published 2026-11-15 under the MIT licence.
Questions about Payload Shrinker
What is Payload Shrinker?
Payload Shrinker is a free in-browser tool that takes pasted JSON or bulky text, estimates its tokens, and lists shrink steps labelled lossless or lossy. It can pick the first step that fits a token budget.
How do I shrink JSON to fit a token budget?
Paste the JSON into Payload Shrinker and enter your budget. It lists steps from lossless to lossy and shows the first one that fits. Token counts are estimates, so check the result.
Are the token counts exact?
No. They are estimates from a simple rule, with a range of minus or plus 25%. Real counts can differ by 25% or more.
What do lossless and lossy mean?
Lossless steps keep all the data. For JSON, the page decodes the result and compares it with the original. Lossy steps remove information, so check the output before you send it.
What happens to what I paste?
The page says nothing you paste is stored, sent or logged. There is no server. Closing the tab discards everything.
How much can I paste?
Up to 100000 characters. Longer input is cut, and the page says so. It helps most with uniform lists of records. Irregular JSON may shrink little.