New in 10.7 · AI agent integration · Pro beta

Design your database visually.
Review changes before they run.

A desktop database design tool for 100+ SQL and NoSQL databases.

Turn an existing database into clear diagrams, or design a new schema from scratch. Keep your model in Git, compare it with a live database, and review the generated SQL before applying changes.

See what users say about DbSchema →
Windows, macOS & Linux
15-day full-feature trial, then free Community
Model files, Git and schema comparison require Pro
Your schema, saved as a model · Pro

Design in a model.
Apply changes when you’re ready.

DbSchema stores your database design in a plain-text model file, separate from the live database. Work offline, review changes with your team, and choose what to apply to each environment.

Design offline

Create tables, relationships, indexes and constraints—even before the database exists.

Version your schema in Git

Keep the model beside your application code. Commit, pull and merge directly from DbSchema.

Compare with the database

See where your model and the target database differ before making changes.

Review and apply

Inspect the generated SQL and select the changes to apply to each environment.

See the Git Workflow
  • Set permissions for each project
  • Enable database access per connection
MCP server · Pro · Beta

Give your AI agent database context.
Keep control of changes.

Connect Claude Code, Codex, Cursor or GitHub Copilot to DbSchema through its local MCP server. Let your agent inspect the schema, edit the model and query connected databases within the permissions you choose.

  • Confirm every AI database change
  • Inspect the log of tool calls

Prefer an assistant inside DbSchema? Use the built-in AI Assistant with your own API key or a local Ollama model.

Understand the schema.
Work with the data.

Explore an unfamiliar database, develop your design, and prepare schema updates—all in the same desktop application.

Map an existing database

Reverse-engineer tables and relationships into diagrams. Add virtual relationships where foreign keys are missing.

Watch the demo

Make large schemas readable

Split the schema into focused diagrams for individual modules. Every diagram shares the same underlying model. Use the database schema visualizer to explore tables and their relationships.

Watch the demo

Start with the business concepts

Define entities and relationships, then turn your logical design into a physical schema.

Watch the demo

Define the database details

Edit column types, keys, indexes and constraints visually.

Watch the demo

Track the design in Git

Review model revisions and resolve conflicting edits with your team.

Watch the demo

Share database documentation

Export searchable HTML5 documentation or PDF, so others can explore the schema without a database connection.

Watch the demo

Connect to your databases

Work with SQL and NoSQL databases locally, on your network or in the cloud.

Watch the demo

Write SQL with schema context

Get table and column suggestions as you type. Run queries and export the results.

Watch the demo

Build queries visually

Choose tables, joins and filters, and see the SQL take shape.

Watch the demo

Ask the AI Assistant

Describe the query or model change you need, then review the result.

Follow related records

Explore connected rows across tables. Filter, sort and edit data in context.

Watch the demo

Import your files

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

Watch the demo

Generate test data

Populate tables with sample data for development and testing.

Watch the demo

Check the model

Find design issues, including reserved names, before applying changes.

Watch the demo

Compare schemas

Inspect differences between your model and a database. Export an HTML or Markdown change report.

Watch the demo

Review the update script

Read the generated SQL before applying schema changes.

Watch the demo

Automate recurring work

Use scripts to repeat tasks such as regenerating database documentation.

Watch the demo

Your models. Your repositories.
Direct database connections.

DbSchema runs on your computer. Save models in your own files, collaborate through your Git repository, and connect directly to your databases.

Step 1

Local model files

Store your database designs in files you control.

Step 2

Your choice of Git hosting

Use your team’s existing repository and review workflow.

Step 3

No DbSchema cloud account

Start working without uploading your models to a DbSchema service.

Optional AI integration

Choose your AI provider or use a local Ollama model.

Encrypted connections

Connect using SSL/TLS and SSH tunnels where supported.

A shared view of your database.

Give developers, architects and analysts a clear picture of the schema—and documentation the wider team can use.

Explore all features
Keep the schema alongside your code

Software Developers

Keep database design alongside your application code. Review model changes in Git and inspect the SQL before updating a database.

  • 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

Develop logical and physical models, define conversion rules, and adapt a shared design to different database 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

Understand how tables connect, build queries visually, and explore related records.

  • 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 databases with the intended design, investigate differences, and choose which schema changes to apply.

  • 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

Explore diagrams and descriptions to understand what the application stores. Share browser-readable documentation with your team.

  • 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

Learn tables, relationships and joins by working visually and reading the SQL your queries generate.

  • 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 and includes database connections, diagrams and the SQL editor. Your first installation includes a 15-day trial of all features. Pro adds saved models, Git, schema comparison, documentation and additional database tools. Architect adds logical and conceptual modeling. Perpetual and subscription licenses are available.
Models and exported documentation are stored in files you control. DbSchema connects directly to your databases. If you enable an external AI provider or coding agent, the information shared with it is subject to that service’s settings and policies. Local Ollama is also supported. DbSchema sends error reports when application errors occur.
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