Frequently asked questions
Which languages are supported?
CSS, JSON, XML/HTML, JavaScript and SQL. Each uses a formatter tuned to its structure — braces for CSS/JS, tags for XML, keywords for SQL, and native parsing for JSON.
Is the JavaScript formatter as good as Prettier?
It re-indents cleanly by brace depth and preserves strings, which is great for making minified code readable. For pixel-perfect, opinionated formatting of every syntax edge case, a build-time tool like Prettier is still the reference.
Does JSON get validated?
Yes — JSON is parsed and re-serialised, so invalid JSON is reported rather than mangled. Use the dedicated JSON & XML Formatter for tree view and conversions.
Is my code uploaded anywhere?
No. All formatting happens in your browser, so proprietary or sensitive code stays on your device.
About the beautifier
- Re-indents and spaces out minified or messy code so it's readable again — pick your indent (2, 4 or tab).
- CSS, JSON, XML/HTML and SQL use robust structural formatters. JSON is validated as it's parsed; CSS and XML preserve comments and structure.
- JavaScript is re-indented by brace depth in a string-aware way — excellent for reading minified code, though for guaranteed-perfect formatting of every edge case a build-time tool like Prettier is the reference.
- Everything runs locally in your browser — nothing is uploaded.