Skip to content

DBML schema visualizer

Paste DBML table definitions and instantly see an ER diagram with columns, primary keys, and references. Everything runs in your browser.

ER diagram

Paste DBML above to generate a diagram.

What is DBML?

DBML is a text format for describing relational database schemas. It is compact enough for documentation and expressive enough to show tables, columns, primary keys, and references between tables.

A visual diagram makes those relationships easier to review during schema design, migration planning, and onboarding to a new database.

FAQ

What DBML syntax is supported? +

The visualizer parses DBML tables, fields, primary key markers, and references using the DBML parser. It is best for table-style database models and relationship review.

Is my DBML uploaded? +

No. Parsing and SVG rendering happen entirely in your browser. Your schema never leaves the page.

Can I export the diagram? +

Yes. Click Download SVG to save the generated diagram and use it in documentation, design reviews, or pull requests.

Does it connect to a database? +

No. This tool only reads pasted DBML text. It does not introspect live databases or migrations.

Go from schema to dashboard

Connect your database to Basedash and build charts from real data.