SQL Toolkit.
Format queries, build safe value lists, and turn JSON rows into INSERT statements.
Ready when you are.
No SQL generated
Three small SQL chores. One place.
Clean up a query using its actual dialect, turn copied IDs into a quoted IN clause, or paste JSON rows to generate a multi-row INSERT statement. Strings are escaped with doubled single quotes.
The formatter understands common SQL dialects and preserves comments. Generated INSERT statements use dialect-appropriate identifier quoting and fill missing object fields with NULL.
Good to know
Does this run my query?
No. This page only transforms text in your browser. It never connects to a database or checks your schema.
Which SQL dialects are supported?
Standard SQL, PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, BigQuery, Snowflake, Oracle PL/SQL, DuckDB, Spark SQL, and Trino.
Should I review generated SQL?
Yes. Check table names, column order, data types, and permissions before running generated statements against a database.