SQL syntax checker


SQL query

SQL checker allows to check your SQL query syntax, it focuses on MySQL dialect (MySQL syntax checker). You can find the syntax errors easily, the errors are highlighted.

You can see the user guide to help you to use this validator.

User guide

To check syntax code:

  • First, Drag and drop your SQL file or copy / paste your request directly into the editor above.
  • Finally, you must click on "Check SQL syntax" button to display if there is an syntax error in your code.

SQL validator

SQL (Structured Query Language) is a domain-specific language used in relational databases.

SQL error checker tool allows to find syntax errors. You can test your SQL query online directly in your browser.

If a syntax error is detected in your request, then the line in error is highlighted.

This tool uses the library SQL parser. This library has been used by phpMyAdmin since version 4.5!

You can report a bug or give feedback by adding a comment (below) or by clicking "Contact me" link (at the top right hand corner of the page).