Paste a statement. A MySQL parser reports errors with line and column; existing lint rules stay as warnings. FlashKit does not connect to MySQL.
MariaDB / Postgres / BigQuery dialects will false-positive. Format first if the query is unreadable.
How to check a MySQL query
- Paste one statement at a time when possible.
- Run the check and fix the first reported issue.
- Format the query so reviewers can read it.
- EXPLAIN it on a replica — not in this tab.
Key Features
- Local syntax pass
- No database credentials collected
- No account
- Works with the SQL formatter
A query the parser accepts, and the warnings underneath
- SELECT id FROM users WHERE id = 1 is accepted by the MySQL parser with no error. The same words in lowercase, select id from users where id = 1, are still accepted, and then three warnings are added on line 1: Keyword "select" is lowercase. SQL convention suggests UPPERCASE (e.g., SELECT). The same sentence is added for from and for where. The keywords are matched case-sensitively, so SELECT does not warn.
- The box starts with two statements and no semicolon after the SELECT: SELECT * FROM users WHERE id = 1 and then INSERT INTO logs (msg) VALUES ("test");. That paste is not one statement. Expect a parse error from the MySQL parser plus the lowercase warnings for select, from, where, and insert on the lines where those words sit. Put a semicolon between the statements, or check one statement at a time.
- A line that ends with a comma adds Line ends with a trailing comma, ensure there is more content. An unclosed single quote adds the message Unclosed single quote found, on the last line. Those messages come from the extra scan, not from the parser.
Valid syntax that is still a bad idea, and dialect noise
- DROP TABLE users; with a semicolon and uppercase keywords can parse with no error. The page does not execute it, and it does not ask whether you meant it. Silence is not approval. Run destructive SQL only in a client that is connected to the database you intend, not from a syntax box.
- The parser is MySQL. A PostgreSQL cast, a SQL Server bracketed name, or a MariaDB-only clause can be flagged even when that engine would run it. A query this page accepts can still fail on a server whose sql_mode is stricter. Fix the first reported line and column, then try the statement on a replica.
- Comments that start with -- or # are skipped by the extra scan. A quote that toggles inside a comment is still tracked if the line is not recognised as a comment. Paste one statement when the errors stop making sense.
How to clear the opening sample
- Replace the sample with one uppercase statement and a semicolon. Wait for the check, which runs a moment after you stop typing. Confirm the error count is zero before you trust the warnings. Uppercase the keywords if you want the warnings to go away. They are style, not syntax.
- Format the statement on the SQL formatter only after it parses. Formatting will not insert the missing semicolon for you.
Frequently Asked Questions
Can this drop my table?
No. Nothing is executed.