SQL Formatter

Format SQL for many dialects.

How the SQL formatter works

Queries are tokenised and re-laid-out with the sql-formatter library according to the selected dialect. Formatting never runs or sends your SQL anywhere.

Processed locally in your browser — your input is never uploaded.

What is SQL Formatter?

Format SQL for many dialects. Queries are tokenised and re-laid-out with the sql-formatter library according to the selected dialect. Formatting never runs or sends your SQL anywhere.

Is SQL Formatter free to use?

Yes. SQL Formatter on DevCipher is completely free, with no sign-up, no limits and no ads.

Is my data safe when I use SQL Formatter?

Yes. Everything runs locally in your browser. Your input is never uploaded to a server, and sensitive values such as keys and tokens are never saved.