JavaScript formatter
Make a minified script or a messy snippet readable.
Everything runs in your browser. Nothing you type or paste is sent to a server.
How to use the javaScript formatter
- 1
Paste your JavaScript.
- 2
Choose the indentation and brace style.
- 3
Copy or download the formatted code.
About this tool
Useful for reading minified scripts, reviewing snippets from forums or unifying a file's style.
The code never runs: it's only rearranged as text in your browser.
Frequently asked questions
Can it recover original variable names?
No. If the code was obfuscated or minified with short names, those names stay.
Does it work with TypeScript?
It handles most TypeScript, but it's designed for JavaScript.
Related tools
- Images
Favicon Generator
Create favicon.ico and every icon your site needs from an image or letters.
- Images
Image to Base64
Turn an image into Base64 or a data URI for HTML, CSS or JSON.
- Images
Base64 to Image
Decode Base64 or a data URI and download the image.
- Images
Image Color Picker
Get the HEX, RGB or HSL code of any point in an image.