How to Use the SQL Formatter
- Paste your SQL query into the input box.
- Choose your preferred indentation (2 spaces, 4 spaces, or tab).
- Choose whether keywords should be UPPERCASE or lowercase.
- Click Format SQL to beautify, or Minify to compress.
Supported SQL
Works with SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, JOINs, subqueries, and most standard SQL dialects including MySQL, PostgreSQL, SQLite and SQL Server.
Privacy: All formatting happens locally in your browser. No SQL is sent to any server.
More Free Online Tools
Explore 32 fast, private, browser-based tools at Wivrix.