JavaScript Formatter / Minifier
About JavaScript Formatter / Minifier
Format JavaScript for readability or minify source directly in your browser. Inspect the output without running the pasted code or uploading it to a service.
How to use this tool
Paste JavaScript source and choose format or minify. Review the output before using it in your application.
What to know
The input is not executed by the formatter. Formatting or minification does not audit dependencies or prove code safe.