Code Flick TechnologiesToolscodeftech.com

SQL Formatter

Format SQL across multiple dialects (Standard, PostgreSQL, MySQL, SQLite, BigQuery, MariaDB, etc). Powered by sql-formatter.

100% in your browser. Files never uploaded.
Formatted
SELECT
  id,
  name
FROM
  users
WHERE
  active = TRUE
  AND created_at > now () - interval '7 days'
ORDER BY
  created_at DESC
LIMIT
  100;

How to use

  1. 1
    Pick the dialect
    10 dialects supported via sql-formatter.
  2. 2
    Paste SQL
    Reformatted live with chosen indent and keyword case.

Related tools