Free & open source · MIT

Your databases, without the clutter.

A fast desktop client for PostgreSQL, MySQL and SQLite. Browse, filter and edit tables, run queries, and keep production safe with read-only connections.

macOS, Windows and Linux · All releases

DB Viewer showing the sales_order table with a WHERE filter
Features

Everything you reach for, nothing you don't.

Built for people who live in their database: keyboard-first, fast on schemas with hundreds of tables, and careful with your data.

Staged editing

Edit cells inline, add or delete rows, paste from a spreadsheet. Nothing is written until you hit Save, and then it all runs in one transaction.

Read-only connections

Mark a connection read-only and it's enforced by the UI, the backend and the database session itself. Give production a red tab so you always know where you are.

Type to search

Focus the sidebar and start typing. It matches table names and column names, so email finds every table that stores one.

SQL console

Schema-aware autocomplete, dialect highlighting, multiple result tabs, history and saved queries. ⌘ Enter runs the statement under the cursor.

Follow foreign keys

⌘-click a foreign key value to jump to the row it points to. Mouse back and forward buttons take you back again.

Copy as anything

Copy a selection as TSV, CSV, JSON, SQL INSERT or Markdown. Export whole tables or query results to a file.

Query

A console that knows your schema.

Tables, columns and aliases complete as you type. Tab accepts a suggestion. Results open in their own tabs so you can compare runs side by side.

  • Run the current statement or the whole script
  • EXPLAIN with one click
  • Query history and saved queries per connection
SQL console with a GROUP BY query and its result
Find

976 tables? Just start typing.

The sidebar filters as you type, across tables and their columns. ⌘ K jumps to any table in the project, and WHERE and ORDER BY take plain SQL with highlighting and completion.

Sidebar search matching tables and columns named email
Connect

Paste a URL and you're in.

Paste a connection URL or a Laravel .env and the form fills itself. Group connections into projects and give each one a color.

  • TCP or Unix socket
  • SSH tunnels using your agent and ~/.ssh keys and config
  • Passwords stay on your machine
PGPostgreSQL MYMySQL / MariaDB SQSQLite
New connection dialog
Themes

Dark or light, your call.

Follows your system by default.

Dark theme
Dark
Light theme
Light

Download DB Viewer

Free, open source, no account needed.

Also available: Windows portable · Linux .tar.gz · build from source

The builds aren't signed yet. On macOS, move the app to Applications and run xattr -dr com.apple.quarantine "/Applications/DB Viewer.app" once. On Windows, choose “More info → Run anyway” in SmartScreen. Linux needs GTK 4 and WebKitGTK 6.