Dr.ERD ERD editor features
Dr.ERD brings PostgreSQL, MySQL, and Oracle data modeling, a data dictionary, relationship validation, and multiple export formats into one local-first web app.
ERD modeling and target DBMS selection
Pick PostgreSQL 18, MySQL 8.4 (InnoDB), or Oracle 19c as the target when you create a model, then design tables, columns, primary and foreign keys, unique constraints, identifying relationships, and composite keys on one canvas.
- Crow’s foot notation
- Logical and physical names
- Referential actions and type validation
Data dictionary and domains
Define reusable terms and domains to apply consistent physical names, data types, and constraints.
- Term autocomplete
- Domain recommendations
- Change impact review
Local file protection
By default your ERD stays as a local .drerd file in the folder you choose instead of being uploaded to a server, and backups in that folder restore an earlier state. Syncing to a team workspace is optional and only then saves to the server. When you use the web AI chat or connect an external AI tool (MCP), the related schema and messages go to the provider you choose.
- Local storage by default, no account
- .drerd files in your workspace folder
- Restore an earlier state from a backup
Exports
Export the finished model in the format you need for documentation and review, and choose where each file is saved. SQL DDL follows the target selected on the model: PostgreSQL 18, MySQL 8.4/InnoDB, or Oracle 19c.
- PostgreSQL, MySQL, and Oracle SQL DDL
- PNG images
- Excel data dictionary
AI connection (MCP)
In a team workspace an AI tool can use a connection token to read the ERDs you select and apply structured schema edits. Issue the token from Issue MCP token in the editor header after you sign in with Google or GitHub, choose a team, and open a team ERD. Edits the token allows save immediately without web confirmation.
- Each token reaches only the existing team ERDs you allow; unselected ERDs and ERDs added later stay out of reach.
- Tables, columns, keys, and relationships are handled as structured edits, and a read-only token cannot change the schema.
- Creating ERDs and moving them to trash work only when the token explicitly allows them.
- A connection token is not a provider API key or a web login token. When you connect, schema names and relationships are sent to the external AI service you use.
Scope and limitations
Check what Dr.ERD supports today. Unsupported input is reported instead of silently changing your data.
- N:M relationships are not expanded into a junction table automatically. Build the junction table before DDL export.
- Paste a supported subset of PostgreSQL 18, MySQL 8.4/InnoDB, or Oracle 19c CREATE TABLE DDL, or load a UTF-8 .sql/.ddl file. Analyze it locally, preview the result, and open it as an editable ERD. Unsupported SQL rejects the entire input.
- PNG saves the whole canvas as one image, so large models take longer and produce bigger files.