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.
Press Ctrl+Enter to format
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.
Paste your query and it is reformatted with consistent keyword casing and indentation. You can also convert between database dialects.
Yes — the linter flags common anti-patterns and the index advisor suggests indexes for slow queries.
Paste the query into the Format tab of SQL Tools and it is reformatted with consistent indentation and keyword casing. You can also minify it or pick a SQL dialect.
SQL Tools includes a dialect converter that translates syntax between SQL dialects. Check the output before running it, since dialects differ in subtle ways.
Use the Param Injector tab. Paste a parameterized query and the values, and it produces a query with the parameters filled in, handy for debugging logged queries.
Yes. The ORM Generator tab produces models for tools such as Prisma, TypeORM, SQLAlchemy, Django, Sequelize and Eloquent, and the C# Migration tab produces EF Core, FluentMigrator or DbUp classes.
The Anti-pattern Linter tab flags common query problems such as SELECT * usage. A separate Index Advisor tab suggests indexes for a query.
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.