SQL Prettifier

Beautify, indent, and uppercase keywords in SQL queries client-side in real-time.

SQL Query Input
Prettified SQL Output

Frequently Asked Questions

How does the SQL formatter work?
It processes your SQL text client-side, capitalizing standard keywords (SELECT, INSERT, UPDATE, DELETE, FROM, WHERE, JOIN) and aligning clauses on new lines.
Is my query data secure?
Yes. Formatting is run entirely client-side, so your database schemas and queries never leave your browser.