ERDDiagramTool

Free ERD Diagram Tool

Paste PostgreSQL, MySQL, or SQLite DDL to visualize Crow's Foot entity-relationship diagrams instantly — drag tables and export SVG, PNG, or Mermaid with zero sign-up.

Drag any table header on the dot-grid canvas to arrange layout.
100% local parsing & autosave. Your database schema never leaves your browser.

Exported Schema Code

Why Choose a Browser-Native Free ERD Diagram Tool?

Enterprise database modeling suites frequently hide behind mandatory workspace sign-ups, three-table free-tier paywalls, or heavy desktop installers when all you need is to visualize five relational tables for an engineering RFC, pull request, or university database project. ERDDiagramTool gives backend developers, data architects, and computer science students an instant free ERD diagram tool that opens straight into a live SQL and DBML drafting workbench.

Type or paste standard CREATE TABLE DDL (or concise Table ... { ... } DBML syntax) on the left, and the dot-grid canvas on the right immediately renders clean entity cards with PK, FK, UQ, and nullable ? indicators connected by curved Crow's Foot cardinality lines. Drag any table header to organize service domains visually, toggle between Light Blueprint and Dark Terminal canvas themes, and export vector SVG, 2x Retina PNG, normalized PostgreSQL DDL, or GitHub-ready Mermaid erDiagram code in one click.

ERD Crow's Foot cardinality diagram showing parent PK to child FK relationship and all four connector symbols

Dual SQL DDL & DBML Support Out of the Box

Input / Output Capability Supported Syntax & Features Ideal Engineering Workflow
PostgreSQL DDL uuid, serial, bigint, jsonb, inline REFERENCES, UNIQUE, NOT NULL Designing Supabase, Neon, RDS, and self-hosted Postgres migrations
MySQL / MariaDB / SQLite int, varchar(n), backtick identifiers, table-level FOREIGN KEY (...) REFERENCES ... Reverse-engineering existing mysqldump --no-data schema files
DBML Quick Modeling Table users { id uuid [pk] } + inline [ref: > orgs.id] or standalone Ref: lines Rapid whiteboard data modeling during system design interviews and RFCs
Mermaid erDiagram Export Converts tables and `
Normalized SQL + Index Export Compiles DBML or rough SQL into clean CREATE TABLE + CREATE INDEX statements Bootstrapping migration files with automatic foreign-key B-tree indexes

Core Capabilities Built for Real Database Architecture

  • True Modality & Cardinality Rendering: NOT NULL foreign keys render double vertical mandatory-parent ticks (||), nullable foreign keys render an optional ring (o|), UNIQUE foreign keys draw one-to-one connectors, and standard foreign keys draw classic three-pronged Crow's Foot forks (o{). Review every symbol in our Crow's Foot Notation Guide.
  • Automatic Local Persistence & Zero-Server Sharing: Your work autosaves locally in browser storage so accidental tab refreshes never lose custom table coordinates. Clicking Share URL compresses your schema into a self-contained #erd= hash fragment so teammates open your diagram with zero cloud database storage.
  • Pre-Migration Schema Auditing: Before running migrations in production, paste your DDL into our companion SQL to ERD & Schema Linter to catch missing primary keys, floating-point money bugs, and unindexed foreign keys.

How to Model a Clean Relational Schema in Three Steps

  1. Load a starter blueprint (SaaS RBAC, E-Commerce, Social Feed, or DBML Syntax) or copy a production starter from our Database Schema Templates.
  2. Drag entity headers into logical left-to-right tiers: Place root parent entities (organizations, users, customers) on the left and transactional child or junction tables (memberships, orders, order_items) to the right so foreign-key Bezier curves flow cleanly without crossing.
  3. Export for documentation and code review: Download Vector SVG for infinite-zoom architecture docs, Export 2x PNG for slide decks, or click Mermaid to paste text-diffable diagrams straight into your pull request description.

Frequently Asked Questions

Is this free ERD diagram tool really unlimited with no sign-up wall?

Yes. ERDDiagramTool lets you create unlimited tables and relationships, drag entities on the canvas, and export SVG, high-res PNG, and Mermaid code completely free without creating an account.

Are my proprietary SQL table definitions uploaded to your server?

No. All SQL parsing and SVG/PNG rendering happen locally inside your web browser using JavaScript. Your database schema is never uploaded to external servers.

How do I draw one-to-many vs. one-to-one lines on the canvas?

Inline column references (e.g. user_id int REFERENCES users(id)) draw a one-to-many Crow's Foot line automatically; adding UNIQUE to that foreign key column switches the connector to a one-to-one tick mark.

Can I export my ERD into Mermaid diagram syntax for GitHub?

Yes. Click Copy Mermaid in the top toolbar to convert your SQL tables and foreign keys into valid Mermaid erDiagram syntax ready to paste into GitHub Markdown, GitLab, or Notion.

Which SQL dialects does the ERD parser support?

PostgreSQL, MySQL, MariaDB, and SQLite CREATE TABLE statements—including inline REFERENCES and table-level FOREIGN KEY clauses—are all supported.

How can I share a diagram with a teammate without signing up?

Click Copy Share Link to encode your current SQL DDL into a self-contained URL hash (#erd=...) that teammates can open directly in their browser.

Schema Architecture Notes & Q&A (0)