Database tools
SQL formatting, minifying and conversion
Long SQL is unreviewable SQL. Format a query into a consistent, diff-friendly shape, strip it back down for embedding in code, or turn INSERT statements into JSON rows for fixtures and tests.
3 Database tools
SQL Formatter
Database
Format SQL into a consistent, reviewable shape with keyword casing options.
Runs in your browser
SQL to JSON
Database
Turn INSERT statements into JSON rows for fixtures, seeds and tests.
Runs in your browser
SQL Minifier
Database
Collapse SQL to a single line for embedding in code or config.
Runs in your browser