Online Demo
Use the playground below to format SQL examples with different dialects and indentation settings. It also supports live placeholder substitution through the Params panel, a Minified one-line view, and a word-Wrap toggle.
INQueryinput.sql
OUTFormattedoutput.sql
SELECT
supplier_name,
city
FROM
suppliers
WHERE
supplier_id > 500
ORDER BY
supplier_name ASC,
city DESC;