Everything an ERD tool should do.

A visual database designer for MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and MS Access. Drag-and-drop canvas, foreign keys with crow's foot notation, SQL import and export — all in the browser.

01 / Canvas

Canvas & editing

Drag-and-drop canvas

An infinite, pan-and-zoom canvas. Drop tables anywhere, rearrange freely, and work with schemas of any size without losing the shape of your design. Pan by scrolling, zoom with pinch or mouse wheel, and auto-fit the whole diagram to your screen in one click. The layout is always yours to control — no auto-arrange forced on you when you add a new table.

Tables & columns

Add tables, add columns, rename inline, reorder by drag. Each column gets a name, a type, and optional constraints.

T

Data types

Each dialect gets its own type list — MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and MS Access all show only the types they actually support. Common examples: INT, BIGINT, VARCHAR, TEXT, BOOLEAN, DATE, TIMESTAMP, UUID, DECIMAL, JSON.

Auto-save

Every edit is saved to your account. Close the tab, switch machines, come back tomorrow — it's still there.

02 / Relationships

Relationships & constraints

Foreign keys

Drag from one column to another to define a foreign key — no dialog boxes, no typing constraint names by hand. Cardinality is rendered in crow's foot notation so one-to-many and one-to-one relationships are immediately readable on the canvas. Every foreign key you draw is reflected in the SQL export as a proper FOREIGN KEY ... REFERENCES constraint, in the correct syntax for whichever dialect you've selected.

PK

PRIMARY KEY

Mark a column as the primary key with one click. The generated DDL adds the PRIMARY KEY constraint for you.

!=

UNIQUE & NOT NULL

Toggle UNIQUE and NOT NULL per column. The SQL output reflects exactly what you set.

03 / SQL

SQL in & out

MySQL

MySQL export

A complete MySQL CREATE TABLE script — types, constraints, foreign keys. Paste into MySQL Workbench, DBeaver, or a terminal and run.

PostgreSQL

PostgreSQL export

Switch dialects and the same diagram comes out as Postgres-compatible DDL — works with psql, pgAdmin, Supabase, anything that speaks Postgres.

SQLite

SQLite export

Generates SQLite-compatible DDL with foreign key constraints declared inline inside CREATE TABLE — the only syntax SQLite accepts.

Oracle

Oracle export

Outputs Oracle DDL using double-quoted identifiers and Oracle-native types like NUMBER, VARCHAR2, and CLOB. Compatible with SQL*Plus and Oracle SQL Developer.

SQL Server

SQL Server export

Generates T-SQL with bracket-quoted identifiers and SQL Server types like NVARCHAR, DATETIME2, and UNIQUEIDENTIFIER. Ready to run in SSMS or Azure Data Studio.

MS Access

MS Access export

Exports bracket-quoted DDL with Access-specific types like AUTOINCREMENT, MEMO, and YESNO. Compatible with the Access SQL view and DAO.

SQL import

Paste a CREATE TABLE script and SQL Designer parses it into a visual ER diagram automatically — tables, columns, types, constraints, and foreign keys all placed on the canvas. Useful for reverse-engineering a production schema before a refactor, visualizing a schema from documentation, or onboarding onto an unfamiliar database. Supports multi-table scripts with FOREIGN KEY references across tables.

One-click copy

Copy the full generated SQL to your clipboard with one click. No download, no extra step.

04 / Sharing

Sharing & embedding

</>

Embeds

Embed a diagram as an interactive iframe in any docs site, README, or internal wiki. Embedded diagrams with a backlink can be featured in the schema library.

05 / Workspace

Workspace

Multiple diagrams

One diagram per project, microservice, or database. All saved to your account, accessible from any device.

⌘W

Browser-based

Runs in Chrome, Firefox, Safari, Edge. No download, no extension, no setup — just sql-designer.com.

06 / Compare

How SQL Designer compares

Most database designers fall into one of two buckets: desktop software that requires installation and ties you to one engine, or SaaS tools that put SQL export behind a paywall. SQL Designer is neither.

vs. MySQL Workbench

MySQL Workbench is powerful but desktop-only, MySQL-exclusive, and requires a ~200 MB install. It's the right choice for deep MySQL administration (query tuning, server monitoring, migrations). SQL Designer is the right choice when you want to sketch or document a schema fast, collaborate with someone who isn't on the same machine, or need output for a dialect other than MySQL — without installing anything.

vs. dbdiagram.io

dbdiagram.io uses a custom DSL — you write schema text and it renders a diagram. That's fast for people who prefer code-first workflows, but it means a learning curve and no drag-and-drop. Its free tier also caps the number of diagrams and restricts SQL export to paid plans. SQL Designer is visual from the start, dialect-aware, and free with no diagram cap or export paywall.

The SQL Designer position

Browser-based so nothing to install. Visual so there's no DSL to learn. Free forever — no feature is gated behind a subscription, and there are no diagram or export limits. Open source so you can inspect exactly what the tool does with your schema. This combination is what most free-tier ERD tools promise and don't deliver.

Full comparison including DrawSQL, ERDPlus, ChartDB, and Lucidchart: 10 Best Free ERD Tools in 2026 →

Ready to draw a schema?

Open the demo and try it on a real schema — no account required.