SQL Formatter

Beautify SQL queries with keyword uppercasing, clause-per-line formatting, and indented conditions — or minify to a single line. Supports SELECT, INSERT, UPDATE, DELETE, CTEs, and JOINs. 100% in-browser.

Ctrl+Enter to run  |  Ctrl+K to switch tools  |  Recent button shows input history

Repeating this work? Turn this kind of browser utility into an API batch, MCP prompt, extension workflow, or shared team recipe.

Buy Pro Browse tool packs

FAQ

Does it support all SQL dialects?

The formatter handles standard SQL and most MySQL/PostgreSQL/SQLite syntax. Dialect-specific extensions (stored procedures, DELIMITER) are left as-is.

Is my SQL sent to a server?

No. Formatting runs entirely in JavaScript in your browser. Sensitive queries never leave your machine.