SQL Translator
Paste your SQL into the source editor. The dialect is detected automatically — then pick the target engine.
1Source database
Original SQL
Ctrl + Enter to translate now
2Target database
Translated SQL · PostgreSQL
Your SQL is processed in memory and never executed. It is only stored if you opt in when rating a translation.
Table definitions (optional)Paste your CREATE TABLE statements
With the column types, divisions of integers, date subtractions and text comparisons are rewritten exactly instead of only being flagged. Without them, nothing changes.
Processed in memory and never stored, like your query. For now it is used only for PostgreSQL to MySQL/MariaDB.
SQL Translator
Free online SQL dialect converter. Translate queries between PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MariaDB, BigQuery and Snowflake with warnings for incompatible syntax.
Your SQL is processed in memory and never executed. It is only stored if you opt in when rating a translation.