Best for
- Developers and DBAs who need to read messy SQL queries from logs without pasting them into unsecure server-side formatters
Privacy
Client-side processing. Table names, column names, and inline data stay in your browser rather than being sent to our servers for SQL generation.
Quick tips
- Selecting the correct dialect ensures specific keywords are highlighted and formatted properly.
- This tool is perfect for queries extracted from ORM logs (like Prisma, Hibernate, or Entity Framework).
How to use this tool
- Paste your messy or minified SQL query into the input area.
- Select your specific SQL dialect (MySQL, PostgreSQL, etc.) if needed.
- The formatted, color-coded query will appear automatically.
- Click "Copy" to use the beautified query.
Common questions
Which SQL dialects are supported?
The formatter supports standard SQL as well as specific dialects like PostgreSQL, MySQL, MariaDB, SQLite, and SQL Server.
Is it safe to paste queries with real data?
The formatter runs in your browser and does not send the query to our servers for formatting. Use normal caution on shared or managed devices.