SQL Tools
8 toolsFormat, minify, explain and convert SQL — plus query generators for Postgres and MySQL.
Working with SQL as text rather than as a connection: formatting a query so it can be reviewed, minifying it so it fits in a config value, explaining what it does, and moving data between SQL and JSON.
Nothing here connects to a database, which is the point — you can paste a production query in and read it without anything reaching a server. Pick the dialect that matches your database so quoted identifiers survive intact.
SQL Formatter
Format one-line SQL into readable, indented statements.
SQL Beautifier
Expanded, review-ready SQL layout with one column per line.
SQL Minifier
Collapse SQL to one line and strip comments and extra whitespace.
SQL Query Explainer
Break a query into clauses with a plain-English explanation of each.
SQL to JSON Converter
Turn INSERT statements or result tables into JSON records.
JSON to SQL Insert
Generate INSERT statements from a JSON array of objects.
PostgreSQL Query Generator
Build Postgres SELECT, INSERT, UPDATE, DELETE and DDL from a form.
MySQL Query Generator
Build MySQL SELECT, INSERT, UPDATE, DELETE and DDL from a form.
How these tools work
Every one of these 8 tools runs entirely in your browser. There is no account to create, no file to upload and no daily limit, because the work happens on your own device rather than on a server — which also means there is nothing for us to log, cache or leak. Most of them keep working with the network off once the page has loaded.
Not finding what you need? Press ⌘K to search all 223 tools, or browse the other categories.