Write SQL in
plain English

Connect your database, ask questions naturally, get instant SQL — running entirely on your machine with zero data exposure.

PostgreSQL
PostgreSQL
Claude Sonnet 4.6
Result8 rows returned · Electronics +22% · Clothing -4% · ...

Get insights in under a minute

Connect, ask, get answers. No SQL expertise needed.

01

Connect your database

Enter credentials for PostgreSQL, MySQL, SQLite, BigQuery, or any supported source.

02

Ask in plain English

Type naturally — "show me revenue by region last quarter" — in any language.

03

Get instant results

Receive optimized SQL and beautiful charts, running entirely on your local machine.

Analyze monthly sales revenuebroken down as a bar chartTrack active customer growthvisualized as an area line chartSales Performance100755025JanFebMarAprMayJun$100k ↑12%

Everything you need to query smarter

One free, local-first app. Zero cloud. Zero compromise.

Write SQL in plain English

Describe what you want naturally — dbx generates optimised, production-ready SQL instantly. No SQL expertise required.

Plain English
Show revenue by region last quarter
Generated SQL
SELECT region, SUM(revenue)
FROM sales
WHERE quarter = 'Q4'
GROUP BY region
Ready· 4 rows

Your data never leaves your machine

Zero telemetry, zero cloud exposure. Query execution is 100% local — unlike any cloud-based AI tool.

Cloud
Your device
DBx · local
Zero cloud · 100% local

AI writes perfect, optimized queries

dbx understands your schema and writes queries tuned for max performance from the start.

Query latency

SELECT * FROM sales ORDER BY revenue

Before
4.20s
After
0.08s
Execution plan rewritten automatically
52× faster

Open source, zero lock-in

Apache 2.0 licensed on GitHub. Audit every line, contribute features, fork it, or self-host — the community owns this tool.

/dbx-studioApache-2.0
Fork
Contribute
Self-host

Bring your own API key

Connect Anthropic, OpenAI, Gemini, Ollama, or Bedrock. Pay only for what you use — no mark-ups, keys stored in your system keychain.

Anthropic API Key
Connected
sk-ant-••••••••••••••••••••••••
Anthropic
Claude 3.5
OpenAI
GPT-4o
Gemini
Pro 1.5
Ollama
Local Host

Data privacy and security

Unlike cloud-based AI tools, dbx studio runs entirely on your machine.Your data never leaves your device — not a single byte.

Your data is YOUR data. We never see it — ever.

Everything runs locally on your machine. Your files, databases, and query results stay isolated on your device. We have zero access to your data, full stop.

Zero telemetry. Zero cloud. Zero compromise.

No analytics SDKs, no usage tracking, no crash reporters phoning home. The app runs air-gapped from our servers. Your query history lives only in your local database file.

You control the keys. You control the access.

Bring your own API key — stored locally in your system keychain, never on our servers. Connect only the databases you choose, with read-only access by default.

Community

Open source — inspect every line, contribute features, or self-host with complete confidence.

Start querying smarter today

Free to download. Runs on your machine.