SQL Syntax Checker.
Paste SQL, choose its dialect, and see where parsing stops.
Maximum 100,000 characters and 100 statements. Select the dialect your database uses.
Paste SQL to begin.
Check the text before sending it to a database.
Check SELECT, UPDATE, and INSERT syntax in MySQL, PostgreSQL, SQLite, or SQL Server, with a location for queries the parser cannot read.
Good to know
Paste up to 100,000 characters and 100 statements. Checks SELECT, UPDATE, and INSERT with the parser's MySQL, PostgreSQL, SQLite, and SQL Server grammars. Other statement types are reported as unsupported. A parsed statement may still fail against your database because tables, columns, permissions, or server-specific syntax are not checked. SQL is never run or uploaded.
Each statement is checked separately, so an error in one does not hide the others. Error positions point to the original input; parser messages may be technical. Comments alone do not count as a statement. This is a text parse, not a schema check or a guarantee that the database will accept the SQL.