JSON Beautifier
Paste messy JSON, pick an indent, copy clean output. Errors show line and column.
Paste a one-line query from a log or ORM and get it back indented, one clause per line, in the dialect you use. Keywords can be uppercased along the way.
Paste or type to begin. Everything runs in your browser.
How it works
Paste SQL, drop a .sql file onto the input, or load the sample.
Pick your database dialect, keyword case and indent.
Copy the formatted query or download it as a .sql file.
FAQ
Usually the dialect doesn't match the query, or the query uses template placeholders like {{ var }}. Switch dialects, or swap placeholders for :name or ? parameters first.
No. Formatting runs in this tab, so queries with real table names or data stay on your device.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.