Code Formatter & Minifier
HTML, CSS, JS/TS, JSON and SQL — all in your browser.
About this tool
Pretty-print or minify HTML, CSS, SCSS, JavaScript, TypeScript, JSON and SQL using Prettier and sql-formatter - runs entirely in your browser.
Features
- Prettier-powered formatting
- Custom minifiers for HTML/CSS/JS
- Switch language with one click
- No upload - code stays local
How to use it
- Pick a language.
- Paste code.
- Click Format or Minify and copy the output.
🔒 100% private
Everything happens inside your browser using JavaScript and WebAssembly. Your files are never uploaded to a server, never stored, and never seen by us.
Frequently asked questions
Will my code be sent anywhere?
No. Prettier and the minifiers run inside your browser; nothing leaves your machine.