JavaScript Formatter
Beautify minified or compressed JavaScript with configurable indent and brace style — free, private, no upload required.
About this tool
The JavaScript Formatter unminifies and beautifies JS source directly in your browser. Paste a minified bundle or a single-line snippet and reflow it with consistent indentation, proper spacing around operators, and a configurable brace placement style. Works on plain JavaScript, most ECMAScript features (async/await, classes, destructuring, template literals, optional chaining), and basic TypeScript or JSX as best-effort. The js-beautify library is lazy-loaded on first format so the page opens instantly, and nothing is ever uploaded.
Frequently Asked Questions
Powered by js-beautify · MIT