DBXDBX

What is DBX?

DBX is an open-source database workspace for connections, SQL editing, data grids, schema tools, AI assistance, and self-hosted access.

DBX is an open-source database workspace. It brings the daily database workflow into one place: connecting to databases, writing SQL, browsing and editing data, exploring schemas, comparing structures, importing and exporting data, and using AI assistance when it helps.

DBX is available as both a desktop app and a Docker deployment. Use the desktop app for local daily work, or self-host the Docker version when you want browser-based access from a server.

DBX Screenshot

Where DBX Fits

Core Capabilities

CapabilityDetails
Database connectionsMySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, ClickHouse, SQL Server, Oracle, and more
SQL editorCodeMirror 6, syntax highlighting, metadata completion, formatting, selected execution, and query history
Data gridVirtual scrolling, inline editing, WHERE/ORDER BY controls, SQL preview, and export tools
Schema toolsSchema browser, table structure editing, schema diff, ER diagrams, field lineage, database export, and SQL file execution
Data movementTable import, data transfer, SQL file execution, and SQL export with progress and cancellation where supported
Specialized browsersRedis key/value browsing and MongoDB document browsing
AI and automationGenerate SQL, explain queries, suggest optimizations, help fix errors, and expose DBX connections to coding agents through MCP
Self-hosted accessRun DBX with Docker and access it from a browser

Product Principles

DBX focuses on the core work of a database client instead of turning every operation into a separate tool. A few details shape the product:

  • Less context switching: schema browsing, SQL editing, data grids, and results stay close together.
  • Reviewable operations: data and schema changes show the SQL before they are applied where possible.
  • Clear environment separation: connection colors, pins, search, and context menus help separate dev, test, and production.
  • Flexible deployment: the desktop app fits personal workflows; the Docker version fits shared or server-hosted access.

Data and Security

  • Connection configuration is stored in a local SQLite database under the app data directory. Sensitive fields such as passwords, SSH passwords, SSH key passphrases, and connection strings are removed from the normal connection JSON and stored separately in the connection_secrets table.
  • Config export can be encrypted with AES-GCM for migration between machines.
  • SSH tunnels can connect to databases behind firewalls or private networks.
  • AI Ask mode does not execute generated SQL. Agent and MCP flows use conservative execution policies and block dangerous SQL by default.

Next Steps

On this page