What it's for
SQL queries generated by ORMs, exported from logs, or copied from somewhere often come as a single hard-to-read line. This tool reorganizes the query with line breaks and indentation around its clauses (SELECT, FROM, WHERE, JOIN, ORDER BY, etc.), making it easier to read and review.
How it works
Uses the open-source sql-formatter library, which supports common variations of standard SQL syntax. Nothing is sent to a server: formatting happens entirely in your browser.
Frequently asked questions
Does it work with any SQL dialect (MySQL, PostgreSQL, etc.)?
The tool uses the standard SQL formatter, which covers the syntax common across major databases well — very dialect-specific cases may not format perfectly.
Is my data/queries sent to any server?
No — formatting happens locally in your browser.