Standard SQL Query Formatter and Beautifier
Make complex database queries, multi-table joins, and nested subqueries immediately legible.
Key Highlights:
- Uppercase keyword transformation
- Clause level indentation
- Preserves quoted string literals
Format complex SQL queries across PostgreSQL, MySQL, SQLite, and BigQuery. Capitalizes keywords (SELECT, FROM, WHERE, JOIN) and indents subqueries.
Loading SQL Formatter… This tool is an interactive page and needs JavaScript enabled in your browser.
Tokenizes SQL clauses and sub-clauses, converts standard SQL keywords to uppercase, and indents nested joins and conditions.
Beautify, validate, format, and minify JSON data
Format, beautify, and validate XML and SVG documents
Format messy HTML markup
Format, beautify, organize, and minify CSS stylesheets
Make complex database queries, multi-table joins, and nested subqueries immediately legible.