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.

Runs in your browser Nothing uploaded Free, no signup

Everything stays in this browser

SQL Formatter: questions

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.

Made something with AI? Share it as a private link.

Drop in the HTML from Claude, ChatGPT or any editor and get a link your client can open anywhere — with a password, view tracking, comments and approval.