How to use it
- 1Paste your SQL or drop a file onto the input panel.
- 2Adjust the options — the result updates as you type.
- 3Copy the Formatted SQL or download it. Drop several files to convert a batch into one ZIP.
Why format before a migration review
Converted SQL is easier to check when both versions are laid out the same way. Format the original and the converted script with the same settings and a diff shows only the real changes — types, quoting, functions — instead of whitespace noise.
Minify mode removes comments and collapses whitespace without touching string literals, which is useful for embedding a query in a config file or URL.
Questions
Does formatting change what the query does?
No. Only whitespace and keyword case change. String literals, identifiers and comments are left exactly as written (comments are removed only in minify mode).
Guides that use this tool
· 6 min read
MySQL to PostgreSQL: the differences that actually break migrations
Migrating from MySQL to PostgreSQL: type mapping, AUTO_INCREMENT and sequences, zero dates, case sensitivity, query rewrites and how to verify the result.