Free online code tools: HTML minifier, CSS minifier, JavaScript minifier, JSON validator and beautifier, and SQL formatter. Optimise and clean up your code.
Clean, well-formatted code is easier to read and debug. Minified code loads faster in production. Our collection of code tools covers both ends of that spectrum.
Minifiers
- HTML Minifier — Strips whitespace, comments, and unnecessary characters from HTML
- CSS Minifier — Compresses CSS by removing spaces, line breaks, and comments
- JavaScript Minifier — Minifies JS code for faster delivery
Minification is a standard part of any web performance optimisation workflow. Smaller files mean faster downloads, especially on mobile networks. Run your production CSS and JS through our minifiers before deploying.
Validators & Formatters
- JSON Validator & Beautifier — Validate JSON syntax and format it with proper indentation
- SQL Beautifier — Format SQL queries with proper indentation and keyword capitalisation
Paste in messy JSON from an API response and the beautifier turns it into readable, indented output. The SQL beautifier does the same for database queries — invaluable when reviewing complex joins or inherited queries.