
This page groups seven minifiers that shrink technical files without changing their meaning. It includes JSON Minifier, XML minifier and HTML Minifier. Developers can prepare a release, trim an example or compare a compact output. These seven minifiers are free to use, need no account, and operate in the browser.
Start with the format you have: JSON Minifier for data, XML minifier for a markup document, HTML Minifier for a page. CSS Minifier and JavaScript Minifier target front-end assets, while GraphQL Minifier and SQL Minifier handle queries. If you need to read the content first, use a formatter before compacting it.
It removes whitespace and comments, but invalid content can still produce an unusable result. Always check the output before deploying it. For SQL or JavaScript, test the expected behavior in your context afterward.
Use GraphQL Minifier. It compresses a valid query while preserving its structure. If you need to read it first, go through GraphQL Formatter, then return to minification. That avoids compacting a query you have not understood.
Yes. CSS Minifier and JavaScript Minifier are separate tools. You can process each asset according to its own rules. This helps isolate an issue if a compact output does not behave as expected.
It is better to validate first. JSON Minifier and XML minifier expect correct content. If the document is invalid, HTML Minifier or CSS Minifier may produce output that is hard to fix. Review the content before compacting it.
Use SQL Minifier on a copy, then review the resulting query and test it in your context. Check especially that strings are preserved. If any doubt remains, compare with the original version before running it.