JavaScript Beautifier

Beautify minified JavaScript.

About this tool

Beautify minified or ugly JavaScript into clean, properly-indented code using the industry-standard js-beautify engine — entirely in your browser.

Key Features

  • Powered by js-beautify
  • Proper indentation & spacing
  • Handles minified bundles
  • No code leaves your device

How to Use

  1. Paste your JavaScript.
  2. Click Format.
  3. Copy the beautified code.

Benefits

  • Read minified libraries
  • Debug bundled code
  • Standardize code style

Frequently Asked Questions

It reformats whitespace and structure. It cannot recover original variable names that were mangled during minification.

Related Developer Tools

Related guides

Browse all Developer Tools