Skip to content
Kagi DBDownload
v0.13.0What's new

Kagi DB, a fast database client for every database

A fast, lightweight database client. Native, written in Rust and drawn on the GPU.

Connects to
  • PostgreSQL
  • MySQL
  • MariaDB
  • SQL Server
  • CockroachDB
  • CrateDB
  • SingleStore
  • Apache Doris
  • ClickHouse
  • DuckDB
  • SQLite
  • Turso
  • MongoDB
  • Redis
  • Valkey
  • Elasticsearch
  • OpenSearch
  • Amazon S3
  • Cloudflare R2
  • MinIO
Edit like a spreadsheet: Type, paste or fill a range. Changes wait for you to review them, then apply in one transaction.

Edit like a spreadsheet. Type, paste or fill a range. Changes wait for you to review them, then apply in one transaction.

-- why native

Built like a tool, not a web page.

Everything else Kagi does is one search away in the palette: type, then use the arrow keys.

Native, drawn on the GPU.

Rust and GPUI, the framework behind the Zed editor. No browser inside, no JavaScript runtime, so it opens fast and stays light.

RustGPUI
  • MetalmacOS
  • DirectXWindows
  • VulkanLinux
  • Data

    • Structure editor
    • Schema diagrams⇧⌘D
    • Import CSV and JSON
    • Export⇧⌘E
    • Copy as
    • Value and row viewers⌥⌘V
  • Workflow

    • Command palette⌘P
    • Query history⌘Y
    • Saved queries⌥⌘S
    • SQL snippets
    • Tabs survive restarts
    • Bring your connections
  • Server

    • Dump and restore
    • Server activity
    • Users and roles
    • Manual commit⌥⌘Y
    • Safe mode
    • Reconnects after sleep

Rename, retype, add and drop columns, indexes and foreign keys. Apply shows the ALTER statements first.

Changes wait for you.

Edits pile up in a pending bar. Review the diff, then apply it all in one transaction.

- city = 'Lisbon'

+ city = 'Porto'

Passwords stay locked.

Only in the system keychain, never in a file. SSH tunnels and TLS for the rest of the way.

keychain · ssh · tls

-- privacy

Your data stays yours.

Everything Kagi keeps, and everything it sends. There isn't much to the second list.

Stays on your machine

Passwords
In the system keychain only: the macOS Keychain, the Secret Service on Linux, the Windows Credential Manager. Never in a file, never in a log.
Connections and settings
Plain files on your disk. Exporting connections leaves the passwords out.
History and open tabs
Every query you run, your saved queries and the tabs you had open, kept per connection on your machine.

Leaves it, and only this

To your databases
Your queries and edits, sent straight to the servers you connect to, or through your own SSH tunnel.
To GitHub
An update check at start and every few hours. Turn it off in Settings › Updates.
  • No account
  • No telemetry
  • No analytics
  • No crash reports
  • This site counts visits, with no cookies and nothing that tells who you are.

-- questions

Questions, answered.

Is Kagi really free?

Yes. Install it on any number of computers and use it for personal, educational or commercial work, at your job included. There's no account to make and no trial that runs out.

Is it open source?

No: Kagi is free to use, but its source is closed. It's built on open-source parts, GPUI among them, whose own licenses come with every package.

Which databases does it connect to?

PostgreSQL, MySQL, MariaDB, SQL Server, CockroachDB, CrateDB, SingleStore, Apache Doris, ClickHouse, DuckDB, SQLite, Turso (libSQL), MongoDB, Redis and Valkey, Elasticsearch and OpenSearch, plus S3-compatible storage: Amazon S3, Cloudflare R2 and MinIO. Services that speak one of their protocols work too, like Supabase, Neon, TimescaleDB, TiDB and Azure SQL.

Which computers does it run on?

Macs with Apple silicon, Windows on x64, and Linux on x86_64 and ARM64: as an AppImage, .deb, Flatpak or Snap, or from Kagi's pacman repository on x86_64.

Why does macOS or Windows warn me when I open it?

Kagi isn't notarized by Apple or code-signed for Windows yet: both take paid certificates. On a Mac, choose Open Anyway in System Settings › Privacy & Security; on Windows, More info, then Run anyway. Sponsoring Kagi pays for the certificates, and the warnings go away. Sponsor Kagi

How does it update?

On Windows and from an AppImage, Kagi updates itself. The .deb, Flatpak, Snap and pacman packages update with the rest of your system. On a Mac, Kagi tells you when a new version is out and opens its page to download it.

Can I bring my connections from TablePlus or DBeaver?

Yes. Import reads TablePlus's and DBeaver's connection files, or a list of connection URLs, and shows what it will add first. Passwords never travel in those files, so you type them once.

Can it reach a database behind a bastion host?

Yes. Kagi tunnels through your system's own ssh, with your keys, agent and ~/.ssh/config, through jump hosts if you need them. TLS takes a CA file and client certificates.

Can I keep it from changing production by accident?

Yes. Give a connection a safe mode: ask before every change, or read-only, which the database itself enforces. Manual commit mode keeps every change in a transaction until you commit it.

Where do I report a bug or ask for a feature?

Open an issue on GitHub; every release is published there too. Kagi's issues

Kagi the corgi, folded from paper

-- get it

Download Kagi v0.13.0

Free to use. No account, nothing to sign up for.

Kagi for macOS

For Macs with Apple silicon.

Download .dmg
  1. 1Open the disk image and drag Kagi onto Applications.
  2. 2Kagi isn't notarized by Apple yet, so macOS stops it the first time: open System Settings › Privacy & Security and choose Open Anyway.

Notarizing takes an Apple Developer ID, $99 a year. Sponsors would pay for it, and this step would go away.

Sponsor Kagi

All files, checksums and release notes on GitHub Releases.

Kagi is on its way

Kagi isn't notarized by Apple yet, so the first time it takes one more step.

  1. 1Open the disk image and drag Kagi onto Applications.
  2. 2Open Kagi. macOS says it could not verify it: choose Done, not Move to Trash.
  3. 3Open System Settings › Privacy & Security, find Kagi under Security and choose Open Anyway, then confirm.
  4. 4From then on, Kagi opens like any other app.

Or, once it's in Applications, in Terminal:

xattr -dr com.apple.quarantine /Applications/Kagi.app

Notarizing takes an Apple Developer ID, $99 a year. Sponsor Kagi and these steps go away.

Sponsor Kagi