How to use the JavaScript Formatter
- Add your text, file or details in the tool above.
- Adjust the settings to get the result you want.
- Copy or download your result. Nothing is uploaded.
What you can use it for
- Read minified scripts
- Tidy code before sharing or review
- Standardise snippets from Stack Overflow
Private by design
The JavaScript Formatter runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.
Frequently asked questions
Does it support modern JavaScript and JSX?
Yes. ES2024 syntax and JSX are supported.
Can it un-minify variable names?
No. It restores layout, but shortened names stay short.