返回 Ercc

SQL Formatter

Beautify messy SQL into readable, indented statements. 100% local.

Pretty Indent Copy

How it works

1

Paste SQL

Paste any SQL, even minified or one-line statements.

2

Format

Keywords are placed on their own lines with consistent indentation.

3

Copy

Copy the formatted SQL for reuse in code or scripts.

Why use Ercc SQL Formatter?

Readable

Turns dense SQL into clear, structured statements.

Local

Your SQL never leaves the browser.

Fast

Format instantly, no account needed.

FAQ

Frequently Asked Questions

It handles the common keywords shared by MySQL, PostgreSQL, SQLite and most databases.

No. Text inside single quotes is preserved exactly as entered.

No. Everything runs locally in your browser.

Yes, it handles SELECT, INSERT, UPDATE, DELETE and others.

Yes, 100% free with no limits.