Q2H Tools

SQL Formatter

Beautify SQL for MySQL, PostgreSQL and more.

Free · no sign-upPrivate — runs in your browser

Do this next

About the SQL Formatter

Formats SQL with consistent indentation and keyword case, for several dialects.

This tool runs entirely in your browser. Nothing you type is uploaded.

Format, validate and convert JSON, YAML, XML, SQL, HTML, CSS, JavaScript and Markdown instantly in your browser. See all 21 formatters tools →