Skip to main content

SQL Formatter

Paste messy SQL and get clean, indented output. Supports MySQL, PostgreSQL, SQLite, and T-SQL dialects with keyword uppercasing and configurable indentation.

Features

Frequently Asked Questions

Which SQL dialects are supported?
MySQL, PostgreSQL, SQLite, and T-SQL are supported with dialect-specific keyword formatting.
Can I customize indentation?
Yes. Choose between 2 spaces, 4 spaces, or tabs, and toggle keyword uppercasing on or off.