# WebDB

> Open-source self-hosted database IDE with a Monaco query editor, ERD, 200-step version rollback and data generation for PostgreSQL, MySQL, MariaDB and MongoDB.

- **Category:** [Database Management](https://selfhost.directory/database-management)
- **Licence:** agpl-3.0
- **Source model:** Open source
- **Latest version:** 1.0.0
- **Author:** web-db
- **Platforms:** Docker Compose
- **Requires:** PostgreSQL (optional), MongoDB (optional), MySQL (optional), MariaDB (optional), CockroachDB (optional)
- **Tags:** PostgreSQL, MongoDB, MySQL, Databases, MariaDB, NoSQL, Erd, SQL, Cockroachdb, Percona

## Docker images

- [`webdb/app`](https://hub.docker.com/r/webdb/app)

## What is WebDB?

WebDB is a free, open-source database IDE that runs in the browser and targets developers and DBAs working with SQL and NoSQL engines. It connects to PostgreSQL, MySQL, MariaDB, MongoDB, CockroachDB and Percona servers, finds nearby DBMS instances on its own and can even guess credentials, and offers a Monaco-based query editor with autocompletion, an entity-relationship diagram viewer, NoSQL document structure inference, a fake-data generator wired to FakerJS and Falso, and a "Time Machine" that reverts changes using up to 200 stored versions. To run it yourself, pull the multi-arch webdb/app image from Docker Hub, use the Docker Compose setup, or follow the one-line standalone installer. Caveats: repository activity stopped around June 2025, and the project's webdb.app, docs.webdb.app and demo.webdb.app domains currently serve unrelated gambling content instead of the original site, so install instructions on those pages are no longer reachable.

## Should you self-host WebDB?

WebDB scores **50/100** on selfhost.directory ([how scoring works](https://selfhost.directory/scoring)) and ranks **#36 of 41** in [Database Management](https://selfhost.directory/database-management).

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is agpl-3.0-licensed.

Its closest alternative on selfhost.directory is [supabase](https://selfhost.directory/project/supabase) (90/100, 115 031 stars). It scores higher overall, so compare the two before you pick. [See WebDB vs supabase side by side.](https://selfhost.directory/compare/supabase-vs-webdb)

## Features

- DBMS auto-discovery with credential guessing
- ERD visualization
- NoSQL structure inference
- Query Editor
- Test Data Generation
- Version history rollback
- Web-based UI

## WebDB alternatives

- [LibreDB Studio](https://selfhost.directory/project/libredb-studio): Self-hosted, open-source SQL IDE covering 41 database engines in one browser tab, with OIDC SSO, RBAC, query auditing and an AI query agent — MIT licensed. (compare: https://selfhost.directory/compare/libredb-studio-vs-webdb)
- [ChartDB](https://selfhost.directory/project/chartdb): Open-source database diagram editor that visualizes schemas with a single query, supports major databases, exports SQL, and self-hosts via Docker. (compare: https://selfhost.directory/compare/chartdb-vs-webdb)
- [drawdb](https://selfhost.directory/project/drawdb): Self-hosted, open-source tool for drawing database schemas as ER diagrams; it imports DDL, exports DBML plus SQL in seven dialects, and needs no account. (compare: https://selfhost.directory/compare/drawdb-vs-webdb)
- [OrcaQ](https://selfhost.directory/project/orca-q): OrcaQ is a self-hosted, open-source database editor for PostgreSQL, MySQL, MariaDB, Oracle, SQLite, and Redis with AI-assisted querying and a dark native workspace. (compare: https://selfhost.directory/compare/orca-q-vs-webdb)
- [WhoDB](https://selfhost.directory/project/whodb): Open-source, self-hosted database workspace: browse and edit data, query in a scratchpad, visualise schema graphs, with optional Ollama, OpenAI or Anthropic AI chat. (compare: https://selfhost.directory/compare/webdb-vs-whodb)
- [DbGate](https://selfhost.directory/project/dbgate): Self-hosted, open-source (GPL-3.0) database client for engines like MySQL, Postgres, SQL Server, Mongo and Redis, shipped as desktop apps or a Docker/NPM web UI. (compare: https://selfhost.directory/compare/dbgate-vs-webdb)
- [StackRender](https://selfhost.directory/project/stackrender): StackRender is a self-hosted, open-source database schema design tool for visually creating ER diagrams, generating SQL migrations, and tracking schema evolution. (compare: https://selfhost.directory/compare/stackrender-vs-webdb)
- [Pgweb](https://selfhost.directory/project/pgweb): Open-source, self-hosted PostgreSQL client: a single Go binary serves a browser UI for browsing tables, running and analyzing SQL, and exporting CSV, JSON or XML. (compare: https://selfhost.directory/compare/pgweb-vs-webdb)

## More in Database Management

- [WhoDB](https://selfhost.directory/project/whodb): Open-source, self-hosted database workspace: browse and edit data, query in a scratchpad, visualise schema graphs, with optional Ollama, OpenAI or Anthropic AI chat.
- [addon-influxdb](https://selfhost.directory/project/addon-influxdb): Self-hosted InfluxDB 1.x add-on for Home Assistant with Chronograf UI and Kapacitor, exposing HTTP API on port 8086 for sensor data.
- [Adminer](https://selfhost.directory/project/adminer): Adminer is a self-hosted PHP database tool supporting seven systems natively and more via plugins. Single-file deployment makes it a lightweight phpMyAdmin alternative.
- [agx](https://selfhost.directory/project/agx): agx is a self-hosted, open-source desktop app for SQL analytics with AI-assisted queries and ClickHouse backend. Runs natively via Tauri or as a web interface via Docker.
- [Apache Druid](https://selfhost.directory/project/apache-druid): Apache Druid: a high performance real-time analytics database.
- [autobase](https://selfhost.directory/project/autobase): Open-source MIT DBaaS for PostgreSQL: Patroni-based HA clusters, backups, failover and upgrades driven from a web console, Ansible collection or GitOps.
- [Azimutt](https://selfhost.directory/project/azimutt): Open-source, self-hosted database explorer and Next-Gen ERD: design schemas with AML, document tables and columns, browse data and lint large, messy databases.
- [Baserow](https://selfhost.directory/project/baserow): A self-hosted, open-source Airtable alternative: no-code databases with forms, automations and an app builder, MIT-licensed core with paid Premium tiers.
- [bknd](https://selfhost.directory/project/bknd): bknd is a self-hosted, open-source backend-as-a-service with REST APIs, admin dashboard, auth, media, and workflows — a lightweight Firebase/Supabase alternative.
- [Busabase](https://selfhost.directory/project/busabase): Self-hosted open-source workspace where AI agents and people share typed records, documents, reusable skills, and internal tools with built-in review workflows.
- [Bytebase](https://selfhost.directory/project/bytebase): Self-hosted, open-source database governance: reviewed schema changes, SQL review rules, RBAC, masking, audit logs and an MCP server across 20+ engines.
- [ChartDB](https://selfhost.directory/project/chartdb): Open-source database diagram editor that visualizes schemas with a single query, supports major databases, exports SQL, and self-hosts via Docker.

## Links

- [Homepage](https://gitlab.com/web-db/app)
- [Issue tracker (GitHub mirror)](https://github.com/WebDB-App/app/issues)

---
Source: https://selfhost.directory/project/webdb