JavaScript Beautifier / Minifier
Beautify minified JavaScript into readable code, or minify formatted JS for production. Handles modern syntax (ES2023+ features, optional chaining, nullish coalescing, top-level await), JSX, and TypeScript.
How to use the JavaScript Beautifier / Minifier
Paste JavaScript. Beautify produces indented, line-broken output with consistent spacing. Minify strips whitespace and comments for production. For real production bundling use esbuild, swc, or terser — this is for ad-hoc work where you just need readable code from a minified snippet.