Options
  • 100% Free
  • No Sign-Up
  • No Credit Card
  • No Free Trial
  • No Pro Tier
  • No Watermarks

Nothing is uploaded. Just open it and start.

Beautify and minify HTML, CSS, JavaScript and more

Free, no sign-up, no credit card, no trial. Your code never leaves the browser — paste it and format it cleanly or minify it to ship, powered by Prettier, Terser and CSSO.

Beautify with Prettier

Clean formatting for ten languages, from HTML and TypeScript to YAML and GraphQL — the editor-grade engine, with your own indent and width.

Minify to ship

Shrink CSS with CSSO, JS with Terser (source maps too) and JSON; collapse HTML without changing how it renders, and see the bytes saved.

A page per task

Sixteen language-and-mode pages, switched from the tool with your code in tow; drop files, batch to a ZIP, share a link.

Private & client-side

Your code never leaves the browser. No server round trip, ever.

Frequently asked questions

What can I beautify or minify?
Beautify HTML, CSS, SCSS, Less, JavaScript (JSX too), TypeScript (TSX too), JSON, Markdown, YAML and GraphQL; minify HTML, CSS, SCSS, Less, JavaScript and JSON. Beautifying reformats code with clean indentation (indent, line width, quotes, semicolons and trailing commas are yours to set and remembered); minifying strips it down and shows the bytes saved, gzipped too. Each language-and-mode pair has its own page, and switching in the tool takes you there with your code.
What engines power it?
Beautifying uses Prettier's standalone build — the same formatter many teams run in their editors. JavaScript is minified with Terser (modules and top-level await included, with optional source maps), plain CSS with CSSO and CSS that uses nesting by whitespace alone (CSSO would drop nested rules), JSON loses only its whitespace, and HTML goes through a tag-aware minifier that never touches attribute values or the space between inline elements, so rendering is never changed. Big files are worked on in the background, errors show their line in a syntax-coloured editor, and you can drop several files for a ZIP or compare input and output in Code Compare.
Is my code uploaded anywhere?
No. Everything runs in your browser with JavaScript, so your code never leaves your device. It's free with no sign-up.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.