SQL Formatter

Format SQL into clean indented queries for several dialects, change keyword case or minify it.

Runs on your device Free, no sign-up No watermark

How to use SQL Formatter

  1. 1

    Paste your SQL.

  2. 2

    Pick the dialect and style.

  3. 3

    Copy the result.

Good to know

  • Layout only. Queries are not checked against a database.

Your privacy: this tool runs entirely in your browser. Your files are not uploaded, stored or seen by anyone.

You might also need

All tools