DBX
v0.19.3Free and open source

A fast, native database client

DBX connects to PostgreSQL, MySQL, SQLite, Redis, MongoDB and ten other databases. Free and open source.

DBX on macOS with customers, invoices and events tables open, foreign-key links in the grid, and a row inspector

Works with

  • PostgreSQL
  • MySQL
  • SQLite
  • Redis
  • MongoDB
  • DuckDB
  • ClickHouse
  • Snowflake
  • BigQuery
  • Kafka
  • SQL Server
  • CockroachDB
  • Elasticsearch
  • Turso
  • Cloudflare D1
  • Supabase

Manydatabaseclientsarewebpagesrunninginsideadesktopwindow.DBXisbuiltonGPUI,theRustUIframeworkmadefortheZededitor.Thereisnobrowserengineinsideit,andthewholeinterfaceisdrawnbyyourgraphicscard.

Supported databases
15
No Electron, no web view
Rust
Accounts or telemetry
0
Licence
MIT

Made for daily use

Fast, functional and nothing else.

Entity Relationship Diagrams

See how your tables relate, with keys and types on every column. Zoom, fit to screen, or export it to share with your team.

DBX schema diagram of plans, customers, events and invoices with foreign-key lines between them

Row inspector

Every field of the selected row, with JSON formatted and highlighted. Copy any value in one click.

DBX row inspector showing an event row with its JSON payload formatted

Filters

Build a WHERE clause using dropdowns and you can save it to use again.

DBX customers table filtered to status equals active and mrr greater than 1000, showing 25 rows

Table designer

Add columns, indexes and constraints from a form. DBX writes the ALTER statements and opens them for you to check before anything runs.

DBX table designer adding a timestamp column named churned_at to customers

Quick open

Press ⌘P to jump to any table, saved query or connection.

DBX quick open listing tables and connections

Connect from anywhere

Paste a connection URL, or fill in the form.

  • SSHJump hosts, agent or key file
  • Unix socketsLocal, or through a tunnel
  • TLSCertificates verified by default
  • IAMAWS RDS and Azure Entra

Import and export

Streamed with a progress bar and a cancel button. Database exports can be gzipped or schema only.

SQLCSVTSVJSONJSONL.gz

Redis

Browse keys with SCAN rather than KEYS, so a big keyspace won't block the server. Then use the console.

› HGETALL session:4f2a

1) "user_id" 2) "1042"

› TTL session:4f2a

(integer) 3600

SQL editor

Completion that knows your schema, multiple cursors, find and replace, and optional Vim bindings.

  • ⌘↵Run the statement under the caret
  • ⌘⇧↵Run the whole document
  • EscCancel a running query
DBX SQL editor running a three-table join, returning 25 rows in under a millisecond

Fifteen databases

Multiple sources all in one place across macOS and Linux. Missing one? Open an issue on Github.

Relational

  • PostgreSQLSchemas, sessions, locks, foreign keys
  • MySQLDatabases, structure, sessions, locks
  • SQLiteOpen any file on disk
  • SQL ServerIndexes, checks, row edits
  • CockroachDBPostgreSQL wire, TLS options
  • SupabaseThrough the PostgreSQL connector

Embedded and edge

  • DuckDBLocal files or in memory
  • TursolibSQL over HTTP
  • Cloudflare D1SQL through the REST API

Analytics

  • ClickHouseHTTP or TLS, ClickHouse Cloud
  • BigQueryGoogleSQL, datasets, paged jobs
  • SnowflakeSQL API, warehouses, partitions

Documents, keys, and streams

  • MongoDBJSON commands, collections
  • RedisSCAN browsing and a console
  • ElasticsearchIndices and search requests
  • KafkaConsume and produce on topics

Themes

Six built-in palettes, each with light and dark versions. You can change any colour, or import a VS Code theme.

Imports .json and .jsonc VS Code themes. Colours that are too faint are raised to a readable contrast.

DBX query editor in the DBX theme

See every change before it’s made

Edits are staged until you commit them, and DBX shows you the SQL first. Tag your connections so it's obvious when you're on production.

Tags are shown on every connection and tab. Mark a connection as protected to block writes.
Staged edits are turned into SQL that targets each row by its primary key. Nothing is written until you confirm.
Updates use the primary key
Each edit targets one row by its key, and checks the row hasn't changed since you loaded it.
Value, NULL, or Default
Every field has a Value, NULL or Default setting, so an empty string never turns into NULL.
Destructive actions ask first
Truncate, drop and discarding staged edits all need a confirmation.
Failed saves keep your edits
If the database rejects a change, you see its error and your edits stay where they were.

FAQ

More detail is in the user guide.

Yes. DBX is MIT licensed with no paid tier, no account and no telemetry. Every feature on this page is in the download.

Get it here

Free and open source under the MIT licence.