MamaSQL is built by a student β€” a GitHub star or a small donation genuinely helps my career

β˜… Star on GitHub Sponsor

Local-first SQL for power users

An open-source desktop client for MySQL, PostgreSQL and SQLite β€” run your queries straight on your own machine. No cloud, just fast, visual SQL.

Free & open source on GitHub

MamaSQL querying the customers table

ONE WORKSPACE. YOUR DATABASES.

PPostgreSQLMMySQLSSQLite+ wire-compatible engines

STAY IN YOUR FLOW

Your database workflow.
All in one local workspace.

That query in your head. That table you need to find. That answer hiding in your data. A thoughtful workspace puts it all within reach.

β†— Query workspace Local
1 SELECT name, email2 FROM customers3 WHERE active = true;
βœ“ Schema-aware autocomplete Readyβœ“ Run on your own machine Localβœ“ Results in your workspace
3 rows returned 12 ms

From a question to an answer.

A SQL editor that keeps up.

Write with schema-aware suggestions, run with one shortcut, and keep your best queries close. No extra tools required.

Every result, a little clearer.

Find the story in your data.

$267,500 Revenue
MayJunJulAugSepOct
βœ“ Table, chart, or column statsβœ“ Export when you’re ready

Answers from every angle.

Go from rows to charts without leaving your results. Sort the details, see the pattern, and take the answer with you.

Your schema, connected.

β–¦ customers 128 rows
↓ customer_id
β–¦ orders 512 rows
↓ product_id
β–¦ products 64 rows
βœ“ Follow the relationshipsβœ“ Inspect every column

The bigger picture, right in front of you.

Everything in its place.

Browse your tables and follow the connections between them. Get to know a new database without getting lost.

01 / WRITE & RUN

From a thought
to a result.

Write SQL at the speed you think. Schema-aware suggestions, a real CodeMirror editor, and results one shortcut away.

Meet your new editor
βŒ˜β†΅ Run query⌘K Find anything
commerce / workspace Connected
customers.sql
1-- A good question deserves a quick answer.
2SELECT
3 name, email, created_at
4FROM customers
5ORDER BY created_at DESC
6LIMIT 3;
7
Results 312 ms
Interactive preview with sample data
name textemail textcreated_at date
Alex Morganalex@example.com2026-10-14
Sam Riverasam@example.com2026-10-13
Jordan Leejordan@example.com2026-10-12
βœ“ Query complete 3 rows returned
AN INTERACTIVE PREVIEW Pick a table. Run a query. Find your flow.

02 / FIND THE STORY

Same data.
A fresh perspective.

A table for the details. A chart for the bigger picture. Column stats for everything in between. Your results, however you need them.

revenue_by_month.sql Β· sample data
Sample monthly revenue
#month textorders integerrevenue numerictrend
01May142$24,800.00
02June186$32,400.00
03July204$38,200.00
04August268$47,600.00
05September310$56,100.00
06October372$68,400.00
6 rows Β· 3 columns Β· 8 ms

Less exporting to another app. More getting on with your work.

commerce / public 3 tables
customers 3 columns Β· primary key: id

03 / CONNECT THE DOTS

See how it all
fits together.

A new database shouldn’t feel like a maze. Explore tables, inspect columns, and follow foreign keys in a visual map of your schema.

  • Tables, views, and columns in one place
  • Relationships you can actually follow
  • Types and keys without the guesswork
Explore your connections

LOCAL IS A FEATURE

Your database.
Your business.

Your machine talks directly to your database. Your credentials live in the OS keychain. Your queries belong to you.

Read the security model
β†—

Direct connections

Native drivers. No cloud relay between you and your database.

β—‰

Zero telemetry

No tracking of your queries, schemas, or how you work.

⌘

No account required

No sign-in screen standing between you and your data.

⌁

Offline feels normal

Reach your local database. Keep working without the internet.

THE SMALL THINGS ADD UP

Made for the way
you actually work.

Fewer detours. Fewer open apps. The everyday essentials are already part of your workspace.

01

Keep your hands on the keys.

A command palette that gets you to tables, queries, and actions without breaking stride.

02

Never lose a good query.

Search your query history and keep your go-to SQL close with saved snippets.

03

A little more room to think.

Multiple connections, tabs, and split views. Compare without the window juggling.

04

Take your answers with you.

Export results to CSV, JSON, Markdown, or SQL. Ready for whatever comes next.

05

Make the change, right there.

Edit cells inline. Create and alter tables visually. Stay close to the data you’re working on.

● ● ●SELECT what_you_need
FROM your_database;
06

Your workspace, your mood.

A considered dark theme or a fresh light one. With syntax that makes your SQL easy to read.

NO ONBOARDING ODYSSEY

Three steps.
Then you’re in.

The quick-start guide
  1. 01

    Make yourself at home.

    Download the Windows app, or run the browser build with Docker.

    Get MamaSQL β†—
  2. 02

    Bring your database.

    Connect to PostgreSQL or MySQL, or open a local SQLite database.

    Connect a database β†—
  3. 03

    Ask a better question.

    Browse your schema, write your SQL, and let the results do the talking.

    Find your flow β†—

BUILT IN THE OPEN

Good tools keep
getting better.

MamaSQL is an independent, open-source project. Here’s where it’s headed. These features are on the roadmap, not in the app yet.

Next

Query scheduling

+

Run saved queries on a schedule, with automatic exports and alerts when your results change.

Next

Script version history

+

See what changed, compare your scripts, and restore a previous version when you need it.

Planned

Community plugins

+

Extend your workspace with extra exporters, custom cell renderers, themes, and integrations.

Planned

More database engines

+

Native connectors for Microsoft SQL Server and Oracle alongside the engines you already use.

Exploring

Cloud warehouses

+

Query Snowflake and BigQuery from the same workspace as your local databases.

Exploring

Beyond relational

+

Explore MongoDB, Redis, and more with a navigable view of documents and keys.

A FEW GOOD QUESTIONS

Before you
make the switch.

Something else on your mind?
Find us on GitHub

Is MamaSQL really free?+

Yes. MamaSQL is open-source under the MIT licence and free for personal and commercial use. No licence key, subscription, or account required.

Which databases can I connect?+

PostgreSQL, MySQL, and SQLite are supported. Wire-compatible engines include MariaDB, CockroachDB, and Amazon Redshift.

Does my data leave my machine?+

The native app connects directly to your database with no MamaSQL cloud relay and no telemetry. Remote databases receive the queries you send them. The Docker browser build uses its own local bridge for PostgreSQL and MySQL.

Can I work offline?+

Yes. There’s no cloud account or sign-in dependency. As long as your database is reachable, you can keep working, including with a local SQLite file.

What can I install it on?+

The native app is available for Windows. On macOS and Linux, run the browser build with Docker. See the download page for the available options.

Can I contribute?+

Absolutely. Explore the source on GitHub, report an issue, suggest an improvement, or send a pull request. A star or sponsorship helps support the project, too.

YOUR NEXT GOOD QUERY STARTS HERE

Make room
for better SQL.

Your data. Your machine. A workspace that gets out of the way.

FREE & OPEN SOURCENO ACCOUNT REQUIRED