SQL
Free Online SQL Formatter
Pretty-print SQL with selectable dialects, consistent keyword casing and instant local formatting.
100% Client-Side. Your data is processed locally and is never sent to an ElDevo processing server.
Input
Output
Ctrl/Cmd + Enter to run · Esc to clear · Processing stays in your browser.
Advertisement
How to Use
- 1Paste raw SQL.
- 2Select the SQL dialect.
- 3Copy or download the formatted query.
- 4Adjust and reformat as needed.
Features & Privacy Guarantee
- ✓ Multiple SQL dialects
- ✓ Uppercase keywords
- ✓ Instant local formatting
- ✓ Copy and download
Search intent: Format SQL queries for readability in the browser.
Technical Example
Input
select id,name from users where active=1
Output
SELECT id,
name
FROM users
WHERE active = 1Frequently Asked Questions
Which SQL dialects are available?
Common options include PostgreSQL, MySQL, SQLite, MariaDB, BigQuery and Transact-SQL.
Does formatting execute my SQL?
No. The tool only parses and formats text.
Can I format multiple statements?
Yes, provided the selected dialect parser accepts them.
Is my SQL private?
Yes. SQL formatting occurs in your browser.