SQL Beautifier
Format and indent complex SQL queries with keyword casing control.
Technical Specification & Client Security
Format and indent complex SQL queries with keyword casing control. All formatting, transformations, and diffing algorithms run directly in your browser using local Web Workers and client RAM. No source code, authentication tokens, or database queries are sent across the network.
Frequently Asked Questions
Is it safe to paste confidential production SQL queries here?
Yes. All SQL parsing and indentation runs directly in your browser's JavaScript engine. Your queries, table structures, column names, and parameters are never sent across the internet.
Which SQL dialects are supported?
The beautifier supports PostgreSQL, MySQL, SQLite, and Standard SQL dialects with dialect-specific keyword rules, CTE indentation, and clause formatting.
Can I enforce uppercase keywords across my queries?
Yes. Select 'UPPERCASE' in the Keywords dropdown to automatically capitalize SELECT, FROM, WHERE, JOIN, GROUP BY, and other SQL reserved words.