Skip to content

Toolbox

SQL Formatter

Make long SQL readable: one clause per line, consistent keyword case, for MySQL, PostgreSQL, SQL Server and more.

Input
Output

The result shows up here.

Your text never leaves this device.

How it works

  1. 1Paste your query.
  2. 2Pick the dialect and keyword case.
  3. 3Copy the tidy result.