Cross-platform SQL editor and database manager for Linux, macOS, and Windows, supporting MySQL, PostgreSQL, SQLite, SQL Server and many more.
dolthub/dolt
A SQL database that supports Git-style fork, clone, branch, merge, push and pull on tables, and connects like MySQL.
- Stars
- 24,678
- Forks
- 900
- Open issues
- 592
- Last commit
- yesterday
What is it?
Dolt is a SQL database that can be versioned like a Git repository. You can fork, clone, branch, merge, push and pull data, and the command line uses the same verbs as Git, with tables taking the place of files.
Dolt works as a MySQL-compatible server: any MySQL client can connect to it and read or change schema and data. Version control operations are exposed in SQL through system tables, functions and stored procedures named with a dolt_ prefix, such as dolt_commit, dolt_merge and dolt_diff. The project also supports foreign keys, secondary indexes, triggers, check constraints and stored procedures.
Dolt is distributed as a single binary for Linux, macOS and Windows, with Docker images for CLI and server use. The project also offers DoltHub for sharing public Dolt databases, and Doltgres as a PostgreSQL-flavored variant.
Key features
- 01Git-style commands such as commit, branch, merge, diff and revert operate on tables.
- 02Works with any MySQL client through a built-in MySQL-compatible server.
- 03Version control is available in SQL via dolt_ system tables and stored procedures.
- 04Supports foreign keys, secondary indexes, triggers and check constraints.
- 05Provides cell-level history and diff queries to see when data changed.
- 06Can be installed via Homebrew, Chocolatey, MacPorts, Arch Linux packages or Docker.
Use cases
- Tracking changes to reference datasets so every edit can be audited or reverted.
- Testing schema changes on an isolated branch before merging into main.
- Storing agent memory in a database whose history can be inspected and rolled back.
- Sharing versioned public datasets with collaborators through a remote.
Topics
FAQ
- What is dolt?
- A SQL database that supports Git-style fork, clone, branch, merge, push and pull on tables, and connects like MySQL. Dolt is a SQL database that can be versioned like a Git repository. You can fork, clone, branch, merge, push and pull data, and the command line uses the same verbs as Git, with tables taking the place of files.
- Is dolt free to use? What license does it have?
- dolt is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is dolt still maintained?
- Actively maintained. The last commit to dolt was on Oct 18, 2026.
- What can I use dolt for?
- Tracking changes to reference datasets so every edit can be audited or reverted. Testing schema changes on an isolated branch before merging into main. Storing agent memory in a database whose history can be inspected and rolled back. Sharing versioned public datasets with collaborators through a remote.
- Where can I get dolt?
- The source code and installation instructions are on GitHub: https://github.com/dolthub/dolt
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An open source MCP server that connects AI agents, IDEs and apps to databases with prebuilt tools or custom tool definitions.
Apache Druid is a high-performance real-time analytics database for fast queries and ingestion, often used as an open-source alternative to data warehouses.
A lightweight, framework-agnostic command-line tool for managing plain SQL database migrations across teams and environments.
A self-hostable browser SQL IDE that connects to dozens of databases and data systems, with SSO, audit trail and AI-assisted queries under MIT.
A self-hostable workspace where humans and AI agents share channels, messages, workflows and git events on a Nostr relay you run.