Skip to content

Developer

SQL Formatter

Turn a compact SQL query into a readable layout with local, predictable formatting.

Input stays in this browser

Format common SQL clauses locally with readable line breaks and indentation.

Make queries easier to scan

Paste a query to add line breaks around common clauses and indentation around comma-separated fields and boolean conditions. The formatter is intentionally small and readable; it does not rewrite your SQL or change its values.

Use it for quick reviews and copied snippets. For dialect-specific formatting, run the result through your team's database tooling before committing it.

Privacy

Formatting happens in the browser. Your query never leaves this device.