JavaScript Formatter
Indent and format JavaScript or TypeScript, including minified bundles, with a choice of brace style.
Developer & Web
Minify JavaScript with Terser: compression, name mangling and licence comments kept if you want them.
Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works
Runs Terser, the minifier behind most build tools, inside your browser. Compression removes dead code and shortens expressions; mangling shortens local variable names.
Syntax errors are reported with a line and column. Module mode allows stricter output for import/export code.
Was this tool helpful?
Indent and format JavaScript or TypeScript, including minified bundles, with a choice of brace style.
Minify CSS conservatively: comments, whitespace, empty rules and short hex colours, nothing risky.
Shrink HTML safely: collapse whitespace, drop comments and minify inline CSS and JavaScript.
Format and indent JSON, or minify it, with exact error positions and big numbers kept as written.
Create strong random passwords with the character rules a site demands, and see the real entropy.
See the IP address our server sees, the rough location attached to it and what your browser sends.