How to beautify code
- Pick JavaScript, CSS or HTML, and paste your code. Minified code works too.
- Choose the indent you use, then Beautify.
- Copy the result, or download it as a file.
Going the other way? The code minifier makes JavaScript, CSS and HTML as small as possible. For JSON, use the JSON formatter, and for SQL the SQL formatter.