WizzyTools

Format and minify JavaScript online 12 uses

Pretty-print or minify JavaScript instantly in your browser, correctly handling strings, template literals, regex, and comments.

/ 5 - Be the first to rate this tool Thanks for rating!

Verification failed - please try again.

How it works

  1. 1

    Paste the code or data you want to format.

  2. 2

    Choose pretty-print or minify, and set the indent width if you like.

  3. 3

    The formatted result updates instantly.

  4. 4

    Copy the result, or download it as a file.

Why use this tool

Every dev utility, one place

Format, convert, encode, decode, and generate — no more juggling ten tabs.

100% private, always

Every tool runs in your browser — your code and data are never sent anywhere.

Works on any device

Runs on Windows, Mac, Linux, iOS, and Android — nothing to install.

Instant results

No queues, no build step — results update as you type.

Built to handle real data

Full Unicode support and RFC-compliant parsing, edge cases included.

Free, always

Free to use, with no rate limits, sign-up, or trial period.

Frequently asked questions

It is a heuristic beautifier meant for quick readability; it is not a full AST replacement like Prettier.

It maintains the author's style; it will not inject missing semicolons where automatic insertion applies.

Arrow functions, template literals, and destructuring are fully recognized and spaced appropriately.

No, this only removes whitespace and comments. It does not shorten or mangle internal variables.

It works best on standard JavaScript; complex React JSX syntax might produce inconsistent indentation.

From the blog

Popular tools