HTML Beautifier
Re-indent minified or pasted HTML, including inline <style> and <script> blocks.
Make a minified bundle readable again. Line breaks, indents and braces come back, in your choice of indent and brace style. Built on js-beautify.
Paste or type to begin. Everything runs in your browser.
How it works
Paste JavaScript (minified bundles work), drop a .js file onto the input, or load the sample.
Choose an indent and whether braces go on the same line or a new one.
Copy the readable code or download it as a .js file.
FAQ
Plain TypeScript and JSX usually format well. Very new syntax may trip it up, since the tool targets JavaScript.
No. Only whitespace and line breaks change.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.