The free, open-source SQL client
Work with data.
Stay in control.
Query, explore, and compare PostgreSQL, MySQL, and SQLite in one focused desktop app. Your databases stay yours.
Free & open source No account required
- PostgreSQL
- MySQL
- SQLite

01 / A BETTER WAY TO WORK
Less context switching.
More understanding.
The small steps between a question and an answer are where the right tools matter most.
Connect directly
Open PostgreSQL, MySQL, or SQLite without routing your database traffic through a sqlMate server.
Explore safely
Browse data and structure, follow relationships, and review pending row edits before committing.
Query your way
Write and save SQL, inspect plans, or use optional AI with your own key. You decide what runs.
02 / MADE FOR THE DEEPER QUESTIONS
The details are
the whole point.
Find the right table. Understand a relationship. See exactly what changed. All without turning a look into a write.
- 01 / NAVIGATE
Find your next step in a keystroke.
Quick Open searches connections, databases, tables, tabs, saved queries, and recent history. Found SQL opens for review; it never runs automatically.
- 02 / COMPARE
Spot drift without changing data.
Compare schemas or a bounded sample of primary-key-ordered rows across open connections to the same database engine. Both views are read-only; no migrations or synchronization are applied.
- 03 / EXPLORE
See how your tables connect.
A relationship map shows declared foreign keys. Follow a reference from a table cell into a separate, browse-only view, then return to your source.
- 04 / INSPECT
Read the whole value.
Inspect full cell content or search a JSON tree from table and query results. Sensitive values stay masked by default; raw copying asks for confirmation.
One place to pick up the thread.
Jump between tables, open tabs, databases, and connections from one keyboard-first palette. Type to narrow the list, then open your destination without hunting through sidebars.

Know what changed before you change anything.
Compare two open databases side by side. See tables that exist on only one side and the exact columns that drifted, without reading rows or writing data.

Find the rows that differ, not just the tables.
Match a bounded sample of rows by primary key, then inspect changed fields and rows seen on only one side. Nothing is synchronized or written.

Follow declared links without losing your place.
See the foreign-key relationships around the table you are exploring. The map uses schema metadata, not database rows, and opens a related table in the normal table view.

See the whole value, not a clipped cell.
Open a read-only view of a cell, then explore nested JSON as a searchable tree. The value stays in context without changing the table or running another query.

Choose your platform.
Download sqlMate for your desktop and start working with your databases.
for macOS
Free & open source No account required
Frequently asked questions
Is sqlMate free?
Yes. sqlMate is free and open source under the MIT License. You do not need an account to use the app.
Is sqlMate a TablePlus alternative?
Yes. sqlMate is a free, open-source SQL client for macOS and Windows. It supports PostgreSQL, MySQL, and SQLite, with saved queries, read-only comparisons, and staged row edits. Features differ between apps, so check that it fits your workflow before switching.
Which databases can I connect to?
sqlMate supports PostgreSQL, MySQL, and SQLite. Connect to a database server or open a local SQLite file, then browse tables and write SQL in the same workspace.
How are table edits saved?
Row edits are staged instead of written immediately. Review your pending changes before committing them together. Safe mode blocks writes entirely.
Can I compare two databases?
Yes. Open two connections to the same engine to compare schemas or up to 200 primary-key-ordered rows per side. Data Compare is a read-only sample, not a full-table comparison or synchronization tool.
How does optional AI work?
Generate, explain, or fix SQL with your own Gemini, Groq, Claude, or OpenAI developer API key. You review the exact request and destination before sending it. sqlMate does not add result rows or stored credentials, but SQL and schema details you choose to send may be sensitive. Generated SQL never runs automatically. Your provider may bill separately.
Does my database traffic go through sqlMate servers?
No. Database connections go directly from your device to your database. Optional AI requests are handled separately by the configured provider. Limited first-party usage telemetry is described in the privacy policy.
Something else on your mind? Get support