HTML Formatter
Beautify and indent HTML markup.
OpenMinify JSON data. - runs entirely in your browser. Free, fast and private.
Add config or API JSON with extra whitespace.
Syntax errors block minification and show exact locations.
Minify removes spaces and line breaks between tokens.
Copy the single-line JSON for URLs, logs, or storage.
Pretty JSON is for humans. Compact JSON is for wires, logs, and size-sensitive storage. JSON Minifier validates first, then strips insignificant whitespace so the payload shrinks without changing structure.
Minify after you have fixed syntax in the formatter, or when packing a body into a QR, a header experiment, or a recipe step before Base64. Minification will not fix trailing commas; invalid input is rejected with a location hint.
Pitfall: minifying, then hand-editing the one-liner and introducing a silent syntax break. Keep a pretty copy in source control and minify at build or send time.
Tip: chain Formatter → Minifier → Base64 Encoder in Recipe Studio when an API wants a compact encoded blob.
Your JSON is parsed and reprinted locally. We do not store minified outputs from this tool on a server.
Recipe: JSON format → minify → Base64 · JSON Formatter
Processes data instantly with no server round-trips.
Your data never leaves your browser. Nothing is uploaded.
Works in any modern browser. Nothing to download or install.
No limits, no sign-up, no credit card required.
Works on desktop, tablet and mobile devices.
Beautiful in both themes. Your preference is saved.
Keyboard shortcut
Remove whitespace before sending size-sensitive JSON.
Compact fixtures that must stay on one line.
Feed minified JSON into Base64 or other local steps.
Answers for this tool. For site-wide help, open the FAQ hub.
JSON Minifier Minify JSON data. It runs entirely in your browser with instant feedback.
No server upload is required for formatting/validation. Clearing the page removes the text from memory.
Validators report problems; formatters beautify valid structure. Severely broken input may need manual fixes first.
Formatters and converters aim to preserve meaning. Always review diffs for mission-critical code before committing.
Paste smaller chunks if the tab slows down. Minifiers and deep validators scale with input size on the CPU you have.
Many tools support Ctrl/⌘+Enter to run and standard copy shortcuts. Check the tool toolbar for Sample / Clear / Download.
When options exist (spaces vs tabs, indent width), set them before copying output into your repo to match project style.
After the page loads, formatting continues offline. CDN libraries need an initial network load.
Bookmark JSON Minifier, copy output into editors, or chain steps with Recipes.