My SQL Grammar
— Format SQL easily

Free, no signup. Paste and go.
Pick a dialect, validate syntax, then format.

Nothing uploaded

SQL stays in your browser. We never send your input to a server.

Dialect-aware

MySQL, PostgreSQL, SQLite, and other common dialects.

Format & validate

Check syntax, normalize keywords, then copy in one click.

How to use

  1. 1

    Paste SQL

    Put your SQL into the text area.

  2. 2

    Choose a dialect

    Select the database dialect you use.

  3. 3

    Format & copy

    Hit Format, review the result, then copy when ready.

Format SQL

My SQL Grammar is a free browser tool to validate and format SQL for multiple database dialects. Your data never leaves the device.