Developer
SQL Formatter
Beautify & format SQL queries.
SQL input
Output
This free SQL formatter beautifies and minifies queries for 19 database dialects — MySQL, PostgreSQL, SQL Server, Oracle, BigQuery, Snowflake, Redshift, Spark and more. Control keyword, data-type, function and identifier casing independently, pick your indent width, and choose where AND/OR breaks fall. Export the result as plain SQL or wrapped in a C#, Java, PHP, Python or JavaScript string literal to paste straight into your code.
Related tools
JSON Formatter
Format, beautify & validate JSON data.
Base64 Encoder / Decoder
Encode and decode Base64 text instantly.
URL Encoder / Decoder
Percent-encode and decode URLs safely.
Regex Tester
Test regular expressions with live match highlighting.
JWT Decoder
Decode JWT header and payload claims.
Timestamp Converter
Convert Unix timestamps to dates and back.