Oracle to ER Diagram
Paste your Oracle CREATE TABLE statements (or DDL from a schema export) and get a clean, interactive entity-relationship diagram — tables, columns, primary keys and foreign keys, drawn automatically.
How it works
- Export the schema DDL — in SQL Developer (right-click the schema → Export), or via
DBMS_METADATA.GET_DDL. - Paste it into the editor — the Oracle SQL is parsed automatically.
- Tables render with columns and types;
CONSTRAINT … FOREIGN KEYrelations are drawn. - Arrange, hide tables, then export PNG/SVG or convert to Mermaid/DBML.
Example
An Oracle schema like this:
CREATE TABLE customers (
id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
email VARCHAR2(255) NOT NULL UNIQUE
);
CREATE TABLE orders (
id NUMBER GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
customer_id NUMBER NOT NULL,
CONSTRAINT fk_orders_customers
FOREIGN KEY (customer_id) REFERENCES customers(id)
);
…renders two tables with a relation from orders.customer_id → customers.id. Try it with your own →
Why use it
- Private: everything runs in your browser — nothing is uploaded or stored on a server.
- Interactive: drag tables, auto-arrange, hide noise, add notes, and manually link columns.
- Export a high-res PNG, vector SVG, or the schema as Mermaid / DBML / PlantUML code.
- Handles Oracle types like
NUMBER/VARCHAR2and named constraints. - Free & open source — no account, no sign-up.
FAQ
How do I create an ER diagram from an Oracle database?
Export the schema DDL with SQL Developer or DBMS_METADATA.GET_DDL, then paste the CREATE TABLE statements here. Foreign-key constraints become relations automatically.
Is my schema uploaded anywhere?
No. Everything runs locally in your browser — your schema is never uploaded to or stored on any server.
Can I export the diagram?
Yes — export a high-resolution PNG or vector SVG, copy the schema as Mermaid, DBML or PlantUML, or share a link that encodes the whole diagram in the URL.
Is it free?
Yes. It is completely free and open source, with no account or sign-up required.