Free Code Unminifier
An online tool to unminify and beautify minified, compressed, or obfuscated **JavaScript, CSS, HTML, XML, and JSON** code, making it readable again.
What is Minification?
Minification is the process of removing all unnecessary characters from source code (like JS and CSS) without changing its functionality. This includes removing white spaces, newlines, comments, and shortening variable names. The main purpose is to reduce file size to make websites load faster and save server bandwidth.
What This Tool Does & Does Not Do
What it does: This tool re-inserts proper tabs, spaces, and line breaks into minified code. It creates clean indentations for nested brackets, making the code human-readable and easy to debug again.
What it does NOT do: This tool is not a de-compiler. If the code has been obfuscated or uglified (meaning variable names were changed to a, b, c), it cannot restore the original variable names, as that data is permanently lost during compression.
How to Use This Tool?
- Copy your minified or compressed code block.
- Paste it into the first text panel (**"Paste your minified code below"**).
- Select the correct code format from the language bar buttons (JS, CSS, HTML, XML, or JSON).
- Click the **"Unminify Code"** button. Your cleanly formatted code will appear in the output panel, ready to copy using the **"Copy to Clipboard"** button.