Ad
Input SQL
Formatted
Common use cases
- Make complex queries readable for code review
- Standardize SQL style across a team
- Inspect generated SQL from ORMs (Hibernate, Sequelize, Prisma)
- Pretty-print legacy queries before refactoring
Frequently asked questions
Which dialects does it support?
Standard SQL, PostgreSQL, MySQL, SQLite, MariaDB, and Google BigQuery. Each dialect has different keywords and syntax — pick the right one for accurate formatting.
Does it run my queries?
No — it only formats text. The SQL is processed in memory on the server (with a 64KB limit) and discarded immediately. Safe for sensitive queries.
How does keyword case work?
UPPERCASE highlights structure (SELECT, FROM, WHERE), preferred by many style guides. lowercase reads more naturally. Preserve keeps your original casing.