Skip to main content
DeveloperProProcessado no seu navegador

SQL Formatter

Beautify and indent your messy SQL queries seamlessly.

0 of 2 uses today · 2 remaining. Go Pro and remove the limit.

Upgrade

Dialect

SQL

Case

UPPER

Indentation

2 spaces

Checklist

0/5 OK

01

SQL Input

Dialect
Keyword case
Indentation
SQL

02

Formatted SQL

Technical summary
Input lines1
Output lines1
Delta0
Dialect rules
Separate queries with ;
Use clear aliases
Technical Checklist
SELECT/INSERT/UPDATE/DELETE presentReview
JOIN declaredReview
WHERE declaredReview
ORDER BY declaredReview
GROUP BY declaredReview

§ How to use

How to format SQL

Beautify and indent messy SQL into readable, consistent queries — processed in-browser.

  1. Paste your SQL

    Paste the query or script into the editor.

  2. Pick the dialect and style

    Choose the SQL dialect, indentation and keyword case (upper/lower).

  3. Format

    Click Format. The query is reformatted locally — nothing is uploaded.

  4. Copy

    Copy the formatted SQL for your editor or migration.

Related

Related tools

Da mesma categoria.