DDLBuilderOpen DDLBuilder
DDLBuilder
Open DDLBuilder

Database design, SQL to ER diagrams and DDL guides

DDLBuilder is an online database schema designer and DDL generator. Configure columns and indexes, import existing SQL to view ER diagrams, or export ORM models. Choose a guide for the task you need to complete.

Choose a guide by task

TaskWorkflow and output
MySQL Online DDL Generator (Partitions & Indexes)Configure InnoDB tables, composite indexes, and RANGE COLUMNS partitions with a preset example
PostgreSQL CREATE TABLE & Index GeneratorConfigure schemas, IDENTITY keys, JSONB, COMMENT ON, and fillfactor for native DDL
SQL to ER Diagram & Prisma Schema ConverterImport SQL, inspect relationships in the ER diagram, and export Prisma or other ORM models
Dameng, Oracle & Enterprise SQL DDL GeneratorGenerate Dameng, Oracle, Kingbase, GaussDB, and OceanBase DDL with IDENTITY and tablespaces
Compare two SQL schemasInspect MySQL or PostgreSQL schema changes and export migration SQL
Generate a data dictionary from SQLExport Markdown or searchable offline HTML documentation
Convert CSV or Excel to INSERT SQLMap fields, validate records and export SQL with an error report
Design SQL queries and business tablesGenerate SELECT queries from relationships, business modules and SQLite/D1 starter projects

Start manual design, SQL import and local exports without signing in. See getting started for cloud sync and AI account requirements. The tool generates SQL; it does not connect to your database to execute it.

Quick navigation

Basic guide

Advanced guide

FAQ and changelog

Main features