SQL Formatter & Linter

Lint, format, and rewrite SQL across Postgres, MySQL, Snowflake, and BigQuery.

Clean up SQL and catch risky queries. Lint, format, and safely rewrite SQL across PostgreSQL, MySQL, Snowflake, and BigQuery dialects, with warnings for dangerous patterns and suggested safe rewrites — all in the browser.

  • Format SQL across Postgres, MySQL, Snowflake, and BigQuery
  • Lint for risky and dangerous query patterns
  • Suggested safe rewrites
  • Dialect-aware parsing
  • Instant formatting in the browser
chayprabs/sql-lint-format-onlineFull source code, issues, and releasesOpen →

Spotted a bug or have an idea?

This tool is built in the open and shaped by feedback. If something feels off — or you want a feature — I read every message.