Skip to content
Accessibility
Theme
Text size
High contrast
Limit animations
Readable fontAtkinson Hyperlegible
Increased text spacing
Underline links
Always show focus

Runs in your browser — nothing you paste is uploaded.

SQL Formatter

Pretty-print and indent an SQL query. Pick a dialect for accurate keywords. Runs in your browser.


    

What it does

Reformats an SQL statement with consistent indentation and upper-cased keywords using the sql-formatter library. Choose the dialect (standard, MySQL, PostgreSQL, MariaDB, SQLite) for dialect-aware keywords.

Privacy

Formatting is local; the query is never uploaded.

Related tools