JSON Minifier
Minify JSON by stripping spaces and line breaks. Invalid JSON is flagged with the error, and you see how many characters you saved.
Runs in your browser · files never uploaded 100% free
Related tools
CSS MinifierMinify CSS by removing comments, whitespace and extra semicolons while keeping quoted text intact. Shows exactly how many characters you saved.JS MinifierMinify JavaScript by removing comments and whitespace safely, keeping the line breaks your code needs. Strings, regex and templates stay intact.HTML BeautifierBeautify messy or minified HTML into clean, indented markup with 2 spaces, 4 spaces or tabs. Pre, script and style blocks stay untouched.CSS BeautifierTurn minified or messy CSS into readable code with one rule per line and neat indentation, including media queries. Copy it in one click.JS BeautifierBeautify minified or messy JavaScript and JSON into clean, indented code with your choice of spaces or tabs. Free and runs in your browser.XML to JSONConvert XML to JSON with attributes kept as @keys and repeated tags turned into arrays. Paste XML, convert and copy the formatted JSON.