Administration and development

SQL formatter

Tidy a long SQL query with indentation and each clause on its own line. Everything happens in your browser.

What does this mean?

Turn a long, unreadable SQL query into a tidy one with indentation and each clause on its own line, so it is easier to read and check. Works for most SQL dialects (MySQL, MariaDB, PostgreSQL, SQLite).

The tool never runs your query and does not check whether it is correct: it only changes the layout. Everything happens in your browser.