ER Diagram Builder
Design database schemas visually. Add entities with typed fields, connect them with relationships, then export as PNG or SQL CREATE TABLE statements — all in your browser.
Add Entity
Add Relationship
Entities
Export
Edit Entity
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
JSON Formatter & Validator
Format, beautify, and validate JSON online. Paste your JSON to instantly pretty-print it with 2-space, 4-space, or tab indentation. Minify JSON too. Free, runs in your browser.
Open free tool →
Regex Tester
Free regex tester. Test regular expressions against multiple strings with expected match/no-match assertions — see instant pass/fail results. Built-in presets for email, URL, IPv4, and phone. Pro: unl
Open free tool →
Base64 Encoder & Decoder
Free Base64 Encoder & Decoder. Convert text, images, and any file to Base64 and back. Supports URL-safe Base64, image data URIs, and file download from Base64. Runs 100% in your browser — no data sent
Open free tool →
More Free Tools
Related Articles
curl 深度使用手冊:API 測試從入門到進階
curl 是每位開發者必備的 CLI 工具。本文涵蓋 GET/POST/PUT/DELETE 請求、認證、header 設定、檔案上傳、除錯技巧,以及 REST API 測試的完整實戰範例。
Best AI Code Review Tools 2026: CodeRabbit, Sourcery, DeepCode & Bito Compared
Compare top AI code review tools for 2026: CodeRabbit, Sourcery, DeepCode, and Bito. Features, pricing, GitHub/GitLab integration, and choosing the right tool for your team.
AI Code Review Tools 2026: GitHub Copilot, CodeRabbit, Qodo Merge Ranked
Compare AI code review tools for 2026: GitHub Copilot code review, CodeRabbit, Qodo Merge, Sourcery, and PR-Agent. Pricing, accuracy, and GitHub integration.
AI Coding Tools Comparison 2026: GitHub Copilot vs Cursor vs Windsurf vs Cline
Comprehensive comparison of the best AI coding tools in 2026: GitHub Copilot, Cursor, Windsurf, and Cline. Pricing, features, model support, and real-world benchmarks.
AI Pair Programming in 2026: GitHub Copilot vs Cursor vs Claude Code
Master AI pair programming in 2026. Compare GitHub Copilot, Cursor, and Claude Code for autocomplete, chat, and agentic workflows. Includes setup guides and productivity tips.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →Frequently Asked Questions
What is an ER diagram?▼
An Entity-Relationship (ER) diagram is a visual model of a database schema. It shows entities (tables), their attributes (columns), and the relationships between them. ER diagrams are used during database design to clarify structure before writing SQL, communicate schema to teammates, and document existing databases.
What is a primary key vs foreign key?▼
A primary key (PK) uniquely identifies each row in a table — no two rows can share the same PK value, and it cannot be NULL. Common choices are auto-incrementing integers (id) or UUIDs. A foreign key (FK) is a column in one table that references the primary key of another table, establishing a link between the two. For example, a Post table might have a user_id FK pointing to the User table's id PK.
What is cardinality in ER diagrams?▼
Cardinality describes how many instances of one entity relate to instances of another. One-to-one (1:1) means each row in table A corresponds to exactly one row in table B. One-to-many (1:N) means one row in A can relate to many rows in B — the most common type (e.g., one User has many Posts). Many-to-many (M:N) means rows in A can relate to multiple rows in B and vice versa, which requires a junction/pivot table.
When should I use one-to-many vs many-to-many?▼
Use one-to-many when ownership is clear and exclusive — one User owns many Posts, one Order contains many OrderItems. Use many-to-many when both sides can have multiple associations — a Student can enroll in many Courses and a Course can have many Students. Many-to-many relationships require a join table (e.g., enrollments) with foreign keys to both sides, and often additional attributes like enrollment date.
How do I read crow's foot notation?▼
Crow's foot notation uses symbols at each end of a relationship line. A single vertical line (|) means 'exactly one'. A crow's foot (three lines splaying out) means 'many'. A circle means 'zero'. Combined symbols read as: single line + single line = one and only one; crow's foot + single line = one or many; crow's foot + circle = zero or many. Read the symbol at the far end of the line as the maximum, and the symbol closer to the entity as the minimum.