Code Beautifier
Format JavaScript, CSS, HTML, and JSON.
Clean up minified or messy code into readable, properly indented source. Supports JavaScript, TypeScript, JSON, CSS/SCSS/LESS, and HTML. It all runs in your browser, so your code is never uploaded.
Runs entirely in your browser — nothing is uploaded.
How to use the code beautifier
- 1Paste your code.
- 2Pick the language.
- 3Beautify it and copy the result.
Frequently asked questions
Which languages are supported?
JavaScript, TypeScript, JSON, CSS (including SCSS/LESS), and HTML.
Is my code sent anywhere?
No — formatting runs entirely in your browser, so your code stays on your device.