Input
๐ก Paste PostgreSQL DDL (e.g. output of
PostgreSQL input is parsed into a real Postgres parse tree by libpg_query (WebAssembly, bundled locally) and re-emitted as target DDL โ much more faithful than regex-based conversion. MySQL and SQLite input are parsed by node-sql-parser (bundled locally).
Supported:
All processing happens locally in your browser โ no data is sent anywhere.
โ ๏ธ Generated code is provided "as is". Always verify generated SQL before running on production databases. Read our Terms of Service.
pg_dump -s), MySQL DDL (e.g. from mysqldump) or SQLite DDL (e.g. output of .schema) and translate it to another dialect.
PostgreSQL input is parsed into a real Postgres parse tree by libpg_query (WebAssembly, bundled locally) and re-emitted as target DDL โ much more faithful than regex-based conversion. MySQL and SQLite input are parsed by node-sql-parser (bundled locally).
Supported:
CREATE TABLE (types, defaults, identity / auto-increment, PK / UNIQUE / FK / CHECK), CREATE INDEX, CREATE SCHEMA / CREATE DATABASE, CREATE SEQUENCE and ALTER TABLE ... ADD CONSTRAINT. Unsupported statements are kept as comments and reported.
All processing happens locally in your browser โ no data is sent anywhere.
โ ๏ธ Generated code is provided "as is". Always verify generated SQL before running on production databases. Read our Terms of Service.
Result
โ
Translated DDL appears here