SQL Tools

SQL Tools

Format SQL queries; visually build SELECT statements; inject parameters; convert between dialects; visualize schema; export INSERT statements to JSON, CSV, XML, YAML, or HTML; generate C# migration classes for EF Core, FluentMigrator, or DbUp; lint for anti-patterns; get index suggestions; look up dialect syntax; generate ORM models; estimate query cost; and simulate transaction isolation levels.

Convert dialect:

Press Ctrl+Enter to format

SQL Tools

Format SQL queries; visually build SELECT statements; inject parameters; convert between dialects; visualize schema; export INSERT statements to JSON, CSV, XML, YAML, or HTML; generate C# migration classes for EF Core, FluentMigrator, or DbUp; lint for anti-patterns; get index suggestions; look up dialect syntax; generate ORM models; estimate query cost; and simulate transaction isolation levels.

Common uses

  • Format a multi-join SELECT query
  • Build a SELECT statement visually
  • Convert MySQL syntax to PostgreSQL
  • Export INSERT statements to JSON
  • Generate a C# EF Core migration from SQL
  • Lint a query for anti-patterns
  • Get index suggestions for slow queries
  • Generate a Prisma model from a CREATE TABLE
  • Simulate a dirty read under Read Uncommitted

Frequently asked questions

How do I format an SQL query?

Paste your query and it is reformatted with consistent keyword casing and indentation. You can also convert between database dialects.

Can it help catch performance problems?

Yes — the linter flags common anti-patterns and the index advisor suggests indexes for slow queries.

Is my data uploaded to a server?

No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.