SequelPG
v0.4.0 · macOS 14.4+
№ 001 — A Postgres GUI for people who read EXPLAIN

Postgres, native.Free, light, and fast.

A free, lightweight PostgreSQL GUI built in SwiftUI and AppKit. It opens instantly, follows your system appearance, and keeps every action a keyboard shortcut away. Browse schemas, run and explain SQL, edit rows, draw ER diagrams, export data.

Native
SwiftUI+AppKit
SSL modes
5off→full
Price
$0forever
License
MITopen
II. The toolkit

Built like a native app,
because it is one.

Ten things SequelPG does well, in a free app that stays light and fast. No analytics. No login. No paid tier hiding behind “Pro”. Open the app, pick a connection, you’re in.

01 / 10
Query editor
Autocomplete from your schema, not a generic SQL dictionary.

Highlighting for keywords, strings, comments, numbers, and operators. Suggestions pulled live from the database you’re connected to. ⌘↵ to run. ⌘⇧F to beautify.

autocomplete.sql
SELECT u.id, u.em
emailtext
email_verifiedbool
emit_event()func
embeddingvector
02 / 10
SSH tunnel
Reach the db behind the bastion.
◉
your.mac
localhost:5432
⛨
bastion
ssh · key file
⬢
postgres
10.0.0.4:5432

Key file or password. Five SSL modes, from Off to Verify Full. Configured in the connection form — no extra shell.

03 / 10
Secure
Zero outbound traffic.

Passwords live in the macOS Keychain, in separate items for database and SSH. No telemetry, no analytics, no auto-update pings phoning home.

Network activity
analytics.*—
auto-update—
postgres://● connected
04 / 10
Type-aware editor
Edit jsonb like jsonb, not text.
user_id: 8f24 · prefs (jsonb)
{
"theme":"dim"
"notify":true
"keymap":["vim","emacs"]
}

JSON, arrays, booleans get the editor they deserve. Double-click any cell in the AppKit grid to open it. DDL is one tab away.

05 / 10
ER diagram
See the schema as a map.
public · relationships
orders.user_id→ users.id
events.user_id→ users.id
invoices.order_id→ orders.id

The Diagram mode (⌘5) draws tables and foreign keys for a schema. Export it as PNG, SVG, or PDF.

06 / 10
Query history
Every query, with timing & row count.
Literals redacted by default — safe to screen-share.
timestatementrowsmssource
13:48:02SELECT id, email FROM users WHERE created_at > '••••••'1,28438editor
13:48:00UPDATE users SET last_seen = '••••••' WHERE id = '••••'16inline
13:47:51SELECT * FROM pg_stat_activity124system
13:47:48EXPLAIN ANALYZE SELECT count(*) FROM events1412editor

Press ⌘⇧Y to dock the history panel. Click a row to load it back into the editor.

07 / 10
Export & import
Results to CSV or JSON. Databases to a dump.
Export
query results.csv · .json
databasepg_dump
import .sqlpsql

Export from the query status bar, or dump a whole database with pg_dump and import SQL files with psql.

08 / 10
Object CRUD
17 object kinds. One consistent UI.
▦Tables
▦Views
▦Materialized
▦Functions
▦Sequences
▦Types
▦Domains
▦Indexes
▦Constraints
▦Triggers
▦Partitions
▦Roles
▦Privileges
▦Extensions
▦Schemas
▦Operators
▦Casts

Create, drop, alter. The Structure tab keeps columns, indexes, constraints, triggers and partitions together — where they belong.

09 / 10
Beautify
Format messy SQL into something you’d commit.
before
select id,email from users where created_at>now()-interval '7 days' order by id desc limit 5;
→
after ⌘⇧F
SELECT
  id,
  email
FROM users
WHERE created_at > now()
  - INTERVAL '7 days';

Mixed-case identifiers get auto-quoted. Indentation follows clause boundaries. Predictable, idempotent.

10 / 10
Roles, privileges, extensions.

A GRANT/REVOKE builder, an Extensions sheet, and ~50 built-in Postgres functions a click away.

50+
built-in fns
17
object kinds
5
SSL modes
0
telemetry
III. Connect in three

From zero to running a query
in under a minute.

Free, light, and quick to start: no accounts, no project to set up, no sign-in. Open the app, paste the connection string, browse.

i.

Open the connection form.

Host, port, database, user, password. Or paste a postgres:// URL and the fields auto-fill. SSL mode and SSH tunnel sit one click away.

$ open SequelPG.app
ii.

Browse the navigator.

Schemas, tables, views, functions — 17 object categories in a tree on the left. Select a table and switch modes with ⌘1–⌘5: Structure, Content, Definition, Query, Diagram.

▸ prod-replica / public / users
iii.

Run a query, edit a row.

⌘T opens a new native window tab, ⌘↩ runs the query. Double-click any cell to edit it in a type-aware editor. ⇧⌘Y to peek at history.

⌘↵ SELECT * FROM ... ✓ 38ms
IV. The neighborhood

Against the usual suspects.

Plenty of good Postgres tools exist. SequelPG is the one that’s free, open source, light, and native to the Mac. Filled in honestly — where we’re partial, the dot is half-full.

SequelPG
Free
pgAdmin
Free
DBeaver
Free
TablePlus
$99
Postico
$69
DataGrip
$109/yr
Navicat
$229.99/yr
Native macOS app
●
○
○
●
●
○
○
Open source
●
●
●
○
○
○
○
Free forever
●
●
●
◐
◐
◐
○
SSH tunnel built-in
●
◐
●
●
●
●
●
Query history with redaction
●
○
◐
◐
○
◐
◐
Beautify w/ identifier quoting
●
◐
◐
●
◐
●
●
MCP server for AI assistants
●
○
◐
●
○
●
○
No telemetry / no login
●
●
○
○
○
○
○
SequelPG vspgAdminFree
SequelPGpgAdmin
Native macOS app●○
Open source●●
Free forever●●
SSH tunnel built-in●◐
Query history with redaction●○
Beautify w/ identifier quoting●◐
MCP server for AI assistants●○
No telemetry / no login●●
SequelPG vsDBeaverFree
SequelPGDBeaver
Native macOS app●○
Open source●●
Free forever●●
SSH tunnel built-in●●
Query history with redaction●◐
Beautify w/ identifier quoting●◐
MCP server for AI assistants●◐
No telemetry / no login●○
SequelPG vsTablePlus$99
SequelPGTablePlus
Native macOS app●●
Open source●○
Free forever●◐
SSH tunnel built-in●●
Query history with redaction●◐
Beautify w/ identifier quoting●●
MCP server for AI assistants●●
No telemetry / no login●○
SequelPG vsPostico$69
SequelPGPostico
Native macOS app●●
Open source●○
Free forever●◐
SSH tunnel built-in●●
Query history with redaction●○
Beautify w/ identifier quoting●◐
MCP server for AI assistants●○
No telemetry / no login●○
SequelPG vsDataGrip$109/yr
SequelPGDataGrip
Native macOS app●○
Open source●○
Free forever●◐
SSH tunnel built-in●●
Query history with redaction●◐
Beautify w/ identifier quoting●●
MCP server for AI assistants●●
No telemetry / no login●○
SequelPG vsNavicat$229.99/yr
SequelPGNavicat
Native macOS app●○
Open source●○
Free forever●○
SSH tunnel built-in●●
Query history with redaction●◐
Beautify w/ identifier quoting●●
MCP server for AI assistants●○
No telemetry / no login●○
V. Questions

Things people ask first.

Short answers. The docs cover the rest — link in the footer.

Yes. SequelPG is open source under the MIT license. There is no paid tier, no trial, no row limit, no upsell, and no telemetry. The source is public on GitHub, so you can also build it yourself.

Yes — that's the point of it. SequelPG is a native macOS app built with SwiftUI and AppKit, so it's a small download, launches instantly, stays light on memory, and uses native macOS controls, menus, and keyboard shortcuts. Query results render in a native AppKit grid.

macOS 14.4 (Sonoma) or later. SequelPG is built on modern SwiftUI and AppKit APIs, including @Observable and native window tabs.

Yes, built in. Configure an SSH tunnel with key file or password authentication directly in the connection form. SequelPG uses the system ssh binary for local port forwarding, so there's nothing extra to install.

Yes. The editor highlights SQL keywords, strings, comments, numbers, and operators in both light and dark mode. Autocomplete uses a JetBrains-style completion popup that suggests SQL keywords plus live metadata from your connected database — schemas, tables, and columns — so it learns your schema rather than a generic dictionary. Beautify (⇧⌘F) formats your query and auto-quotes mixed-case identifiers.

Yes. Since version 0.4.0, SequelPG is an MCP (Model Context Protocol) server. Claude Code, Claude Desktop, Cursor, VS Code and other MCP clients can browse schemas and run read-only queries on the connections you share, without seeing your passwords. It is off by default; turn it on in Settings → MCP. Setup guide: sequelpg.com/docs/mcp.

Yes. The Diagram mode (⌘5) draws an interactive entity-relationship diagram of a schema from its tables and foreign keys. You can export the diagram as PNG, SVG, or PDF.

Yes. Query results can be exported to CSV or JSON from the results status bar. Whole databases can be exported and imported using the standard PostgreSQL tools — pg_dump for export and psql for importing .sql files — which SequelPG drives for you (set their location in Settings ▸ Tools). CSV import isn't available yet.

In the macOS Keychain on your Mac. Database and SSH passwords are kept in separate Keychain items and are never sent anywhere.

Yes. SequelPG is used for day-to-day PostgreSQL work and ships regular releases — the current version is 0.4.0. It's actively developed, so check the GitHub release notes for what's new. Known gaps today: no custom SSL certificate management, no CSV import, no creating or editing roles, no trigger/procedure editing UI (view-only via Definition), and no schema diff.

On GitHub Issues at https://github.com/mihailShumilov/SequelPG/issues. You can also reach the maintainer via the Contact page. Pull requests are welcome — the codebase is small enough to read in an afternoon.

Free. Light.
Fast and native.

A small download that opens instantly and feels at home on your Mac. Grab the latest build, or clone it from GitHub — either way, you’ll be talking to Postgres in about thirty seconds.