Data & Text
JSON Minifier
Remove all unnecessary whitespace, newlines, and indentation from JSON to produce the most compact valid representation. Useful before sending JSON in API requests, storing in databases, or embedding in HTML. Also validates your JSON before minifying — any parse errors are reported with position info.
Runs in your browser
Nothing uploaded
Free, no signup
Ctrl + Enter to run · Recent brings back your last inputs · Everything stays in this browser
FAQ
JSON Minifier: questions
Is minified JSON still valid JSON?
Yes — minification only removes insignificant whitespace (spaces, tabs, newlines between tokens). The data and structure are identical to the formatted version.
How much space can minification save?
For deeply nested or heavily formatted JSON it can reduce file size by 20–50%. The savings depend on how much indentation was used originally.
Does this change key order?
No — JSON minification does not reorder keys. The output is semantically identical to the input.
JSON Formatter & Validator
Pretty-print & validate JSON
Image Resize Calculator
Calculate new dimensions while preserving aspect ratio
Password Strength Checker
Analyze password entropy and weaknesses
YAML ↔ JSON Converter
Convert between YAML and JSON
JSON to YAML
Convert JSON to YAML format
JSON Schema Generator
Infer and validate API contracts
Made something with AI? Share it as a private link.
Drop in the HTML from Claude, ChatGPT or any editor and get a link your client can open anywhere — with a password, view tracking, comments and approval.