ClickZM
Developer Tools

SQL Formatter

To format SQL, paste a query, choose the dialect (standard SQL, MySQL, PostgreSQL, SQL Server, SQLite, BigQuery, Oracle and more) and keyword case, and click Format. Clauses, joins and subqueries are put on clear, indented lines.

Read the guide

  • Free
  • No signup
  • Runs in your browser
Loading tool…

How to use SQL Formatter

  1. 1Type or paste your input into the SQL Formatter.
  2. 2Choose any options you need.
  3. 3See the result update instantly.
  4. 4Copy the result or download it.

SQL Formatter: questions people ask

Does it run or validate my query?

No. It only reformats text; it never connects to a database.

Can I keep my keyword case?

Yes. Choose Preserve, UPPER or lower for keywords.

Is my data uploaded when I use the SQL Formatter?

No. The SQL Formatter runs entirely in your web browser, so your text and numbers stay on your device and work even on a slow connection.

Does the SQL Formatter work on iPhone, Android and Mac?

Yes. The SQL Formatter runs in any modern browser (Safari, Chrome, Edge or Firefox) on iPhone, iPad, Android phones, Mac, Windows and Chromebook. There is no app to install.

Is the SQL Formatter free?

Yes. The SQL Formatter is free with no signup, no watermark and no daily limit.

Sponsored

A recommended offer

Opens in a new tab. It is separate from the calculators.

Continue

Advertisement