JSON Minifier

Minify JSON by removing whitespace, comments, and trailing commas. All processing happens locally in your browser.

config.json

Minify Options

input.json
output.min.json

Frequently asked questions

Paste your JSON into the editor. Enable options like remove whitespace, remove comments, remove trailing commas, and sort keys. The minified output appears instantly.

No. All minification happens 100% client-side in your browser. Your data never leaves your machine.

Yes. Enable 'Remove Trailing Commas' to automatically fix trailing commas before minifying. The tool also shows a syntax error inspector with line/column highlighting.

When enabled, string values are kept as-is. When disabled, the minifier may optimize string escaping. Usually you want this enabled.

Ready to build?

Create your first mock JSON endpoint or try more tools — signup takes seconds.