DBML Editor: Live ER Diagram + DDL Export

DBML input
Live ER diagram

DBML (Database Markup Language) is a simple, human-readable DSL for describing a database schema — tables, columns, and relationships — without writing raw SQL. This editor parses your DBML, renders it as a live entity-relationship diagram, and can export ready-to-run CREATE TABLE / ALTER TABLE DDL for PostgreSQL, MySQL, SQL Server, or Oracle. Everything runs client-side — your schema is never sent anywhere.

Already have SQL DDL instead of DBML? Use our SQL DDL to ERD diagram tool, which works the other direction.