Introduction
What db-studio is and what it does: a local, open-source database GUI for browsing and editing tables, running queries, managing indexes, and importing or exporting data.
Every database. One studio
db-studio gives you a clean, spreadsheet-like interface to browse and manage your database tables, run SQL queries, and more.
Why Use db-studio?
Fast & Modern
Built with React 19 and the latest web tools. Everything feels smooth and quick.
Works with Any Database
Connects to PostgreSQL, MySQL, SQL Server, MongoDB, SQLite, Turso, Cloudflare D1, Redis, DuckDB, Oracle, ClickHouse, and more. See Supported Databases.
Easy for Developers
Simple CLI tool that runs on your computer. No cloud services, no complicated setup.
Open Source
Free and available under the Apache License 2.0. You can see all the code, contribute, or change it to fit your needs.
What Can You Do?
- Browse tables like a spreadsheet with easy editing
- Live mode refreshes the grid every second and highlights changed rows and cells
- Run SQL queries with a built-in editor that has autocomplete
- Manage your data - add, edit, delete rows and columns
- Manage indexes - see, create, and drop indexes
- Export data to CSV, JSON, or Excel files
- Import data from CSV, JSON, or Excel files
- Command palette to jump to tables and run actions from the keyboard
- AI assistant to ask questions about your data in plain English, with your own key for Gemini, OpenAI, Anthropic, Grok, or OpenRouter
- Switch databases easily when you have multiple databases on the same server
Your Data Stays Yours
db-studio runs on your computer and connects to your database directly. Your connection details are never sent anywhere. It sends anonymous usage data, which you can turn off; see the FAQ. All code is open source so you can check for yourself.