A minified snippet from DevTools that you need to read. Project formatters still own the real style. JSON/SQL/XML have dedicated pages.
A one-line bookmarklet or a copied innerHTML script. You want newlines and indent, not a build. This page is a generic beautifier. It will not read .prettierrc.
Structured jobs: JSON formatter, SQL, XML. Markdown render is preview. Diff two versions after format: text diff.
DevTools dumps, not CI
A one-line bookmarklet or a minified snippet from DevTools is the job. Your repo’s Prettier plugins and print width will not match. JSON, SQL, and XML have dedicated parsers with better errors. We do not run the code.
How to use it
- Paste the snippet. Pick a language if the form asks.
- Beautify in the tab. If it fails, the source may already be invalid.
- Copy back to the editor. Run your real formatter before commit.
Honest limits
Not a security scanner. Not a compiler. Not “fix my syntax.”