Beautify, minify & unminify your code
Paste minified code to unpack and prettify it, or compress your source to ship less. Works with JavaScript, CSS, HTML, JSON, XML and more — fast, free and private.
Input
Output
Your result appears here
Paste code, pick a mode, then hit the button.
Tip: press ⌘Enter (or CtrlEnter) to run.
Everything you need to tidy up code
A fast, modern alternative for beautifying and minifying source files — no sign-up required.
Beautify & unminify
Turn minified, packed or obfuscated code back into clean, readable, properly indented source.
Minify & compress
Strip whitespace and comments to ship smaller JavaScript, CSS, HTML, JSON and XML.
Five languages
JavaScript & TypeScript, CSS, HTML, JSON and XML — auto-detected as you paste.
Instant & accurate
Powered by battle-tested engines for reliable results every time.
Private by default
Your code is processed on the fly and never stored — nothing is saved or shared.
Zero friction
Paste, drop a file, or upload. Copy or download the result in a single click.
Frequently asked questions
Is my code stored anywhere?
No. Your code is sent to our server only to run the formatter, processed on the fly, and never saved or shared.
Which languages are supported?
JavaScript and TypeScript, CSS, HTML, JSON and XML. The language is auto-detected as you paste.
What is the difference between beautify and minify?
Beautify reformats code with consistent indentation so it is easy to read. Minify strips whitespace and comments to make the file smaller.
Can I unminify or unpack minified code?
Yes. Paste minified or packed code and Beautify will reformat it into clean, readable, properly indented source.