Your Own Git Repository
Keep the model in the Git repository of your choice, not on a vendor cloud.
ER diagrams for PostgreSQL, MySQL, SQL Server and 100+ more
Save your schema as a model file you own, keep it in Git, compare it with the live database, and read the SQL before you apply a change, whether it comes from you, your team or your AI agent.
See what users say about DbSchema →Turn an existing database into readable diagrams, explore its data, compare your design with the database, and apply only the changes you approve.
Turn hundreds of tables into diagrams. Add the relations the database never declared, and focus on the tables you need.
Watch the demoGive each module its own ER diagram. All diagrams share the same model.
Watch the demoDefine entities and relationships before choosing a database. Then turn your logical model into a physical schema.
Watch the demoSet column types, keys, indexes, and constraints for your chosen database, directly in the model.
Watch the demoCommit the model to your own repository, track every change, and resolve conflicting edits side by side.
Watch the demoExport interactive HTML5 documentation with search, or PDF. Readers need no database connection.
Watch the demoWork with SQL and NoSQL databases on your computer, your network or in the cloud. Connect securely over SSL and SSH tunnels.
Watch the demoGet suggestions for tables and columns as you type. Run queries and export results to CSV, JSON, or Excel.
Watch the demoSelect tables and columns, add joins and filters, and see the SQL as your query takes shape.
Watch the demoAsk for SQL in plain English or let the assistant edit the model. It asks before it reads your data or changes the database.
Browse related records together. Filter, sort, and edit data without losing sight of its relationships.
Watch the demoImport CSV, Excel, JSON, or XML data into new or existing tables.
Watch the demoPopulate tables with realistic sample data so you can test your application before real data arrives.
Watch the demoCheck the model as you work. Spot issues such as reserved names before deploying your design.
Watch the demoCompare the model with a live database, review each difference, and export an HTML or Markdown report.
Watch the demoGenerate SQL for schema changes and inspect the statements before applying them to the database.
Watch the demoUse scripts to repeat database tasks, such as regenerating documentation when your schema changes.
Watch the demoSave your design in a model file you own. Edit it offline, track changes in Git, and generate the SQL for each database when you are ready.
Create or change a schema without a connection—even before the database exists.
Store the model in Git next to your application code. Commit, pull and merge from DbSchema.
Compare the model with the target database and read the generated script before it runs.
Select the changes for each environment, from development through production.
See the Git workflowDbSchema runs on your computer and connects straight to your databases. Models stay in your own files or your own Git repository.
Keep the model in the Git repository of your choice, not on a vendor cloud.
See who changed the design and when, and compare earlier revisions.
No DbSchema account required. Models and documentation stay on your computer or in your repository.
The MCP server accepts only local connections with a token, and logs every tool call.
WiseCoders, the company behind DbSchema, is certified. The certificate is public.
Connect over SSL/TLS and SSH tunnels, with the sign-in methods your database driver supports.
Design the schema, explore the data, or explain how it fits together. Find the tools for your part of the work.
Explore all featuresKeep your schema model next to your code. Track changes in Git, let your AI agent help within the limits you set, and review the SQL before you apply it.
Define entities and relationships first, then generate physical models for your target databases. Use conversion rules to map types and naming conventions across engines.
See how tables connect and build queries by selecting columns, joins, and filters. Inspect the generated SQL and explore the results as you work.
Compare a database with the intended design to find schema drift. Review differences and generated SQL, then choose the updates to apply to each environment.
Browse diagrams and descriptions to understand what the application stores and how its data connects. Shared HTML documentation opens in a browser, without access to the database.
Explore tables and relationships in a real database. Build queries visually, then read the generated SQL to understand how joins and filters work.
Databases, editions, and how DbSchema fits your workflow.
Have another question?
See the full FAQConnect Claude Code, Codex, Cursor or Copilot through the MCP server, or use the built-in AI Assistant with your own API key or a local Ollama model. Both follow the permissions you set.
AI is optional: it stays off until you choose a provider. Your own key, Ollama and the MCP server need Pro.