Best for
- Developers and DBAs who need to read messy SQL queries from logs without pasting them into unsecure server-side formatters
Privacy
100% Client-side. Your table names, column names, and inline data never leave your browser.
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?
Yes. Since the formatting happens strictly in your browser, your schema and data are completely private.