Code and data

Code Beautifier

Beautify JavaScript, CSS, HTML, JSON and SQL online.

  • Free
  • Runs in your browser: nothing is sent
  • API: 120 runs a minute without an account
  • No sign-up
About Code Beautifier

Paste minified or badly formatted code and get readable, consistently indented source back. Works across JavaScript, CSS, HTML, JSON and SQL, which makes it useful for reading third-party bundles.

  • One tool for JS, CSS, HTML, JSON and SQL
  • Consistent indentation and line breaks
  • Great for reading minified production code
Questions · 2

Can this recover minified code?

It restores structure and indentation so the code is readable, but names that a minifier shortened cannot be recovered.

Does beautifying change what the code does?

No. Only whitespace and line breaks change; the code is functionally identical.

Use it from code · API

Input: text, language. No account needed within the free limit; a token with tools.tool.run raises it.

curl -X POST https://openvibe.tools/api/v1/tools/beautify/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"{\"a\":1}","language":"json"}}'

JSON Schema · OpenAPI · API docs

Build with it: Make your own tool from it · Run it on a schedule or from a private link