SQL to ER Diagram
Home › Sequelize

Sequelize to ER Diagram

Paste your Sequelize model definitions and get an interactive ER diagram — tables, columns from DataTypes, and relations from associations.

Open the diagram tool →
No signup · nothing uploaded · export PNG / SVG / Mermaid / DBML · shareable link

How it works

  1. Copy your Sequelize models (sequelize.define(...) or Model.init(...)).
  2. Paste them into the editor — Sequelize is auto-detected.
  3. Each model becomes a table; associations like belongsTo become relations.
  4. Arrange, hide tables, then export PNG/SVG or share a link.

Example

Sequelize models like this:

const User = sequelize.define('User', {
  email: { type: DataTypes.STRING, unique: true }
});

const Post = sequelize.define('Post', {
  title: DataTypes.STRING
});

Post.belongsTo(User);

…renders User and Post with a relation between them. Try it with your own →

Why use it

SequelizePrismaSQLAlchemySQL

FAQ

How do I diagram Sequelize models?

Paste your sequelize.define or Model.init definitions. Columns come from DataTypes and relations from associations like belongsTo / hasMany.

Is my schema uploaded anywhere?

No. Everything runs locally in your browser — your schema is never uploaded to or stored on any server.

Is it free?

Yes. It is completely free and open source, with no account or sign-up required.

Related