How to use
Use it as a fast pre-check before running queries in a database console.
- Paste your SQL into the input box.
- Select a dialect (affects quoting rules and a few heuristics).
- Click Check SQL to get a compact report (errors + warnings).
- Optional: click Format to improve readability, then re-check.
FAQ
Is this a full SQL parser for my database?
No—it's a lightweight checker that focuses on common, high-signal issues (quotes/comments/parentheses, multiple statements, risky UPDATE/DELETE patterns).
Does it run server-side or send my SQL anywhere?
No. It runs entirely in your browser and does not make network requests.
Why do I see a warning for UPDATE/DELETE without WHERE?
Because it often indicates an accidental full-table change. Some workflows are intentional—treat it as a safety prompt.
Can it detect SQL injection?
Not reliably. It can flag risky patterns (like multiple statements), but injection prevention depends on parameterized queries in your app.
Why does SELECT without FROM show a warning?
Some databases allow it (for expressions), but many queries expect a FROM clause—so it’s flagged as a gentle review hint.
Will the formatter change query meaning?
It only adjusts whitespace/casing and adds line breaks outside of quotes/comments, but you should still re-check before running in production.
How does it handle different dialects (MySQL/Postgres/SQL Server)?
Dialect mainly tweaks quoting/comment rules (e.g., MySQL backslash escapes, SQL Server bracket identifiers). The checks are otherwise generic.