Kagi DB, a fast database client for every database
A fast, lightweight database client. Native, written in Rust and drawn on the GPU.


Edit like a spreadsheet. Type, paste or fill a range. Changes wait for you to review them, then apply in one transaction.
An editor that keeps up. Autocomplete from the live schema, Explain as a tree, Format SQL, :name parameters.
Follow the keys. Follow a foreign key to the row it points at, in a tab of its own, filtered to it.
The whole schema, drawn. Every table with its keys, every foreign key a crow's-foot line. Pick a table to light up its relations, set the lines flowing.
Shapes on a map. PostGIS columns drawn beside their rows, offline over the world's land or on street tiles. Draw a box to filter by area, import Shapefiles, GeoPackages and KML, print the map.
Compare and sync. Diff two schemas or two tables' rows, then copy the SQL that brings the target in line.
Secure by default. SSH tunnels through jump hosts, TLS with your own certificates, and passwords only in the system keychain.
Safe mode, a click away. Set a connection read-only, or have it ask before every change, right from the title bar. Its strictest ask also wants Touch ID or Windows Hello before anything runs.
Keyboard first. The palette opens any table, column, command or connection; every shortcut can be yours.
Vim, the real thing. One switch in Settings. Text objects, registers, macros, surround.
-- 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.
- 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.
-- 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
-- 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.
- 1Open the disk image and drag Kagi onto Applications.
- 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 KagiAll files, checksums and release notes on GitHub Releases.