About the JSON & XML Minifier
The JSON & XML Minifier removes every unnecessary space, line break and comment from JSON and XML, so API responses, config files, sitemaps and product feeds load and transfer faster. The same tool beautifies minified data back into readable, indented text.
Input is checked with a real parser first, so the output is always valid. Errors show the line and column, and broken JSON links straight to our JSON Repair tool. JSON keys can be sorted for stable diffs, and XML keeps CDATA, namespaces and, if you want, comments and the XML declaration. Everything runs in your browser.