Your files

Each file stays available at its link for 48 hours and is then deleted from our server automatically. You can delete it earlier at any time.

No files yet. Files you convert appear here and stay available for 48 hours.

SQL Validator

Check SQL for errors: each problem is listed with its line and column and marked in the code.

Drag and drop, or upload file
Choose file
Maximum 1 GB

Paste your code or upload a file, then click the button. Problems are listed here and marked in the editor.

Validate SQL Online

Paste SQL or upload a file and click "Validate". Every problem is listed with its line and column and underlined in the editor; click a problem to jump to it. When the code is valid, you see a short summary of it.

The query is parsed with the grammar of the dialect you choose — MySQL, MariaDB, PostgreSQL, SQL Server, SQLite, BigQuery, Snowflake or Redshift — and the first syntax error is shown with its position. A valid script shows how many statements of which type it has.

Why Use This Tool?

  • Errors with exact line and column
  • Problems marked right in the code
  • Click a problem to jump to it
  • Free, no registration, works in your browser

How to Validate SQL

  1. Paste your SQL or upload a file
  2. Click "Validate"
  3. Click each problem to jump to it and fix it

Frequently Asked Questions

Is this tool free?

Yes, it is completely free, with no registration and no limits.

Does it check that tables and columns exist?

No. It checks the syntax only, without a database: a query can be valid and still refer to a table that doesn't exist. Rarely used statements of a dialect may not be recognised.

Is my code sent anywhere?

No. Everything runs in your browser: the code you paste or the file you choose never leaves your device.

Related tools

TOP