Browse, Query, Chart.

A desktop app for exploring production databases. Map the schema and query a sample. Pivot it, chart it. Then export that sample as an interactive report.

The safe-db query builder with a joined, filtered query and a 40-row result sample

Drag, drop, connect. Build complex queries without the SQL.

See what you’re querying

The schema map shows tables, keys, indexes, and referenced external tables before you write a query.

Queries are validated against the loaded schema and compiled with bound parameters, so the statement that runs is exactly the one you built.

safe-db schema map showing tables, keys, and relationships
safe-db SQL screen with a single SELECT statement and schema-aware autocomplete

SQL, within reason

The SQL screen takes a single SELECT in your database’s dialect, with schema-aware autocomplete.

Bounded by default

Every run starts from a bounded sample and is scored against an adjustable risk profile. A missing plan or a missing optimizer cost needs an explicit confirmed retry.

Default sample
500 rows.
Sample ceiling
10 MiB encoded.
Query timeout
10 seconds by default.
Advisory
Shown when a request exceeds 1,000 rows.

Explore the sample, not the server

Pivot, Worksheet, and Visualization work on the fetched sample. The rows stay as fetched until you refresh them.

safe-db pivot view aggregating the query sample
Pivot the fetched sample.
safe-db visualization view with a bar chart built from the query sample
Chart the fetched sample.

Reporting, reimagined

Export HTML writes the whole exploration into a single self-contained file. Tables sort and filter, the chart renders inline, and clicking a mark drills into the same source rows the app would show. The file stays interactive without a database connection, credentials, or a live query to re-run. CSV and PNG exports are also available.

An exported safe-db HTML report with a revenue-by-order-status bar chart and its sortable, filterable data table

The recording is the actual exported file, opened in a browser. Sort, filter, and drill into the rows. The file needs no app, connection, or setup.

Credentials stay in the keychain

Named connection profiles are saved without passwords. When a platform store is available, Keychain on macOS or Credential Manager on Windows holds the secrets.

safe-db connections screen listing saved connection profiles

Five engines, one experience

PostgreSQL

Verified TLS with pgjdbc’s normal trust behavior.

MySQL

JVM or launch-profile trust stores.

SQL Server

JVM or launch-profile trust stores.

Oracle

Verified TCPS via an Oracle wallet.

Db2

SSL with hostname verification. JVM or launch-profile trust, no wallet.

Give them a database client you don’t have to worry about

Available for Windows and macOS.

Get safe-db

safe-db is proudly opensource.

GitHub