New in 10.7: an MCP server for your AI agent (Pro, beta)

Design your database schema.
Review every change first.

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 →
Free Community Edition
No account, no DbSchema cloud
15-day full trial, then free Community

Understand the database.
Change it with confidence.

Turn an existing database into readable diagrams, explore its data, compare your design with the database, and apply only the changes you approve.

Understand an Existing Database

Turn hundreds of tables into diagrams. Add the relations the database never declared, and focus on the tables you need.

Watch the demo

Split Complex Schemas into Focused Diagrams

Give each module its own ER diagram. All diagrams share the same model.

Watch the demo

Plan Before You Build

Define entities and relationships before choosing a database. Then turn your logical model into a physical schema.

Watch the demo

Define the Details Visually

Set column types, keys, indexes, and constraints for your chosen database, directly in the model.

Watch the demo

Review Design Changes in Git

Commit the model to your own repository, track every change, and resolve conflicting edits side by side.

Watch the demo

Share Documentation, Not Database Access

Export interactive HTML5 documentation with search, or PDF. Readers need no database connection.

Watch the demo

Connect to PostgreSQL, MySQL, SQL Server and 100+ More

Work with SQL and NoSQL databases on your computer, your network or in the cloud. Connect securely over SSL and SSH tunnels.

Watch the demo

Write and Run SQL

Get suggestions for tables and columns as you type. Run queries and export results to CSV, JSON, or Excel.

Watch the demo

Build Queries Visually

Select tables and columns, add joins and filters, and see the SQL as your query takes shape.

Watch the demo

Built-in AI Assistant

Ask for SQL in plain English or let the assistant edit the model. It asks before it reads your data or changes the database.

Follow the Data Across Tables

Browse related records together. Filter, sort, and edit data without losing sight of its relationships.

Watch the demo

Bring Your Files into the Database

Import CSV, Excel, JSON, or XML data into new or existing tables.

Watch the demo

Create Data for Testing

Populate tables with realistic sample data so you can test your application before real data arrives.

Watch the demo

Catch Design Problems Early

Check the model as you work. Spot issues such as reserved names before deploying your design.

Watch the demo

Compare Schemas Before You Change

Compare the model with a live database, review each difference, and export an HTML or Markdown report.

Watch the demo

Read the SQL Before It Runs

Generate SQL for schema changes and inspect the statements before applying them to the database.

Watch the demo

Automate Repeated Tasks

Use scripts to repeat database tasks, such as regenerating documentation when your schema changes.

Watch the demo
Your database design, saved in a model file (Pro).

A SQL Client Shows You the Database
DbSchema Gives You the Model

Save 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.

Design Offline

Create or change a schema without a connection—even before the database exists.

Review with Your Team

Store the model in Git next to your application code. Commit, pull and merge from DbSchema.

Inspect the SQL

Compare the model with the target database and read the generated script before it runs.

Choose What to Apply

Select the changes for each environment, from development through production.

See the Git workflow

Secure connections.
Your schema stays with you.

DbSchema runs on your computer and connects straight to your databases. Models stay in your own files or your own Git repository.

Step 1

Your Own Git Repository

Keep the model in the Git repository of your choice, not on a vendor cloud.

Step 2

Model History

See who changed the design and when, and compare earlier revisions.

Step 3

No DbSchema Cloud

No DbSchema account required. Models and documentation stay on your computer or in your repository.

AI Under Your Rules

The MCP server accepts only local connections with a token, and logs every tool call.

ISO 27001:2022 Certified

WiseCoders, the company behind DbSchema, is certified. The certificate is public.

Secure Connections

Connect over SSL/TLS and SSH tunnels, with the sign-in methods your database driver supports.

New in 10.7 · Pro · beta

AI that works on your design, under your rules.

Connect Claude Code, Codex, Cursor or GitHub Copilot through the MCP server. Your agent edits the model, arranges diagrams and runs queries, within the permissions you set.

  • Choose what the agent may do in each project
  • Allow AI access per connection
  • Approve every AI database change
  • See every tool call in the log

A clearer view of the database, for everyone who works with it.

Design the schema, explore the data, or explain how it fits together. Find the tools for your part of the work.

Explore all features
Keep the schema alongside your code

Software Developers

Keep 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.

  • Turn a logical design into database tables
  • Branch, commit, and merge the model
  • Trace design changes through Git history
  • Review SQL updates for each environment
  • Generate documentation from the model
Learn More about DbSchema for software developers
From logical design to physical schema

Database Architects

Define entities and relationships first, then generate physical models for your target databases. Use conversion rules to map types and naming conventions across engines.

  • Separate business concepts from database details
  • Define naming and type conversion rules
  • Generate physical models from a shared design
Learn More about DbSchema for database architects
DbSchema's Model Conversion Rules, mapping each logical data type to MySQL, PostgreSQL and SQL Server
Follow relationships. Find answers.

Data Analysts

See how tables connect and build queries by selecting columns, joins, and filters. Inspect the generated SQL and explore the results as you work.

  • Understand how tables relate
  • Build joins and filters visually
  • Explore query results in the same tool
Learn More about DbSchema for data analysts
A visual query in DbSchema joining employees, customers and invoices, with the result rows below it
Find differences before applying changes

Database Administrators

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.

  • Find missing columns and indexes
  • Inspect the generated update script
  • Choose changes for each target database
Learn More about DbSchema for database administrators
The SQL script that DbSchema generates to bring the database in line with the model: an added column, a dropped column and a dropped table
Make database knowledge easier to share

Managers

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.

  • Open documentation in a browser
  • Read table and column descriptions
  • Give new team members a shared reference
Learn More about DbSchema for managers
HTML documentation generated by DbSchema, describing the invoices table and its columns
Learn SQL by seeing how data connects

Students

Explore tables and relationships in a real database. Build queries visually, then read the generated SQL to understand how joins and filters work.

  • Explore tables, keys, and relationships
  • See the SQL behind a visual query
  • Practice with real query results
Learn More about DbSchema for students
The Visual Query Builder joining tables, with the SQL it generates in the preview pane

Frequently asked questions

Databases, editions, and how DbSchema fits your workflow.

DbSchema supports 100+ SQL and NoSQL databases, including PostgreSQL, MySQL, SQL Server, Oracle, MariaDB, SQLite, MongoDB, Snowflake, Redshift, and BigQuery. See the full list of supported databases.
Yes. Community is free forever, with no table limit and no expiry: connect to any database, draw diagrams, write SQL. A new installation starts with a 15-day trial of every feature, then continues as Community. Pro adds the saved model file, Git, schema comparison, HTML5 documentation, the data tools and the MCP server. Architect adds logical and conceptual design. Perpetual licenses, subscriptions and floating team licenses are available.
Your models, diagrams and documentation stay on your computer or in your own Git repository, and DbSchema connects to your database directly, not through a DbSchema server. AI features send schema details only to the AI provider you choose, or to none with a local Ollama model. When DbSchema hits an error, it sends an error report so we can fix it.
Yes. With Pro, DbSchema saves the model as a plain text file that works with Git. Keep it in your repository, track revisions, and review changes through your usual Git workflow.
No. DbSchema asks before every change that an AI makes to a database, and no setting turns that off. For each project you choose whether the AI may read the model, edit it, or nothing at all, and for each connection whether it may reach that database.

Have another question?

See the full FAQ
  • Connect your own AI agent
  • Allow AI access per connection

AI that works on your design, under your rules.

Connect 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.

  • Approve every AI database change
  • Bring your own key, or use Ollama

AI is optional: it stays off until you choose a provider. Your own key, Ollama and the MCP server need Pro.