SQL to ER Diagram
Home › PlantUML

PlantUML to ER Diagram

Paste a PlantUML entity or class diagram and turn it into a fully interactive ER diagram — drag tables, auto-arrange, and export — no Java or PlantUML server required.

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

How it works

  1. Copy your PlantUML @startuml … @enduml block (entity or class diagram).
  2. Paste it into the editor — PlantUML is auto-detected.
  3. Each entity / class becomes a table; relationship lines become relations.
  4. Arrange, hide tables, then export PNG/SVG or convert to Mermaid/DBML.

Example

PlantUML like this:

@startuml
entity users {
  * id : int
  email : varchar
}
entity orders {
  * id : int
  user_id : int
}
users ||--o{ orders
@enduml

…renders two tables with a relation from ordersusers. Try it with your own →

Guide

PlantUML's entity and class diagrams have been the default way to put an ERD in a wiki for a decade — but rendering them requires the PlantUML jar, a Java runtime, or a round-trip to the public PlantUML server. This page renders them client-side: paste your @startuml … @enduml block and get an interactive canvas instead of a fixed image.

What's supported

Skinparam, theme and hide circle directives are skipped — they're render hints, not schema. The point isn't to replace PlantUML for every diagram type; it's that when the diagram is about your database, you should be able to drag a table two inches to the left without re-running a render pipeline. Export SVG/PNG when you're happy, or convert to Mermaid/DBML to move the schema into a different toolchain.

Why use it

PlantUMLMermaidDBMLSQL

FAQ

Do I need a PlantUML server or Java?

No — paste the PlantUML text and it renders directly in your browser as an interactive diagram you can edit and export.

Which PlantUML diagrams work?

Entity-relationship and class diagrams: entity / class blocks with fields, plus relationship connectors like ||--o{.

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