Developer / BROWSER-LOCAL

SQL Formatter

Format SQL locally for SQL, PostgreSQL, MySQL or SQLite without executing it.

Processed on your device
Maximum 200,000 characters. Input is not stored.

Ready. Use Ctrl/⌘ + Enter to run.

Completed and failed run counts are stored only on this device.

How to use this tool

Choose the dialect, paste SQL and run. Copy or download the formatted query; no database connection is made.

Supported input and limits

50,000 characters. Formatting is not syntax validation or a guarantee that the statement is safe to execute.

Frequently asked questions

Does the formatter run my SQL?

No. It only formats text. Review all statements before executing them in your own database.

Is my input uploaded?

No. Processing happens in a disposable worker on your device. Only local success/failure counts are saved; input is never stored.

Related tools