
Toolbit
JavaScript and JSON Minifier
Shrink a snippet before pasting it into a bookmarklet, an inline script tag, or a size-constrained config field — and see exactly how many bytes you saved.
What the JavaScript & JSON Minifier does
- Minifies JavaScript by removing whitespace, comments, and dead syntax.
- Compacts JSON to a single line for fixtures and env values.
- Before-and-after byte count with the percentage saved.
- Safe defaults that never rename your public API.
How to use it
- Paste the JavaScript or JSON you want to compress.
- Run the minifier and check the size comparison.
- Copy the compact output.
Why it runs locally
Toolbit has no backend. The JavaScript & JSON Minifier is implemented with standard browser APIs, so your input is processed in the tab and never uploaded, logged, or retained. That is what makes it safe to paste real data into — and it is also why the tool keeps working with the network disconnected, once you have installed Toolbit as an app.
Frequently asked questions
- Does it mangle variable names?
- No. The default settings keep identifiers intact so the output stays debuggable and safe to paste into an existing page.
- Can it minify JSON too?
- Yes. JSON is compacted to a single line, which is handy for environment variables and one-line fixtures.
- Is my source uploaded?
- No. Every Toolbit tool runs entirely in your browser using standard Web APIs. Your input is never uploaded, logged, or sent to a third party — you can open the network tab and watch it stay quiet.