Description
NOT A CLIENT. A real PostgreSQL 18 server running on your iPhone — offline, in milliseconds.
Tuple runs a real PostgreSQL database on your iPhone. No server, no network, no account: write SQL in notebook cells, run it and see the results as tables, charts and maps.
YOUR IPHONE IS THE DATABASE
• PostgreSQL 18, 17 or 16 — pick the version for each database
• Several databases side by side, each with its own data and extensions
• Everything stays on your device; back up and restore with one tap
NOTEBOOKS
• SQL and Markdown cells, Run all, timings and NOTICE output
• Results as tables, bar, line and scatter charts
• Autocomplete for keywords, tables, columns and functions
• Jupyter compatible: notebooks are .ipynb files in the Files app; import and share .ipynb or .sql
• CSV export of any result
TERMINAL
• A psql-style terminal with \d, \dt, \dx, \df, \l, \c, \x and \timing
• Command history and a symbol bar made for SQL on a phone keyboard
EXTENSIONS (PRO)
• PostGIS — geometry, geography and 1000+ spatial functions, with results drawn on an offline world map
• pgvector — vector similarity search for AI embeddings, with a 2-D plot of your vectors
• Apache AGE — graph queries with openCypher
• pgcrypto, pg_trgm, uuid-ossp, hstore, ltree, citext, tablefunc, pgTAP, pgmq and more — 35 in total
• Every extension comes with an example notebook you can preview for free
LEARN SQL ANYWHERE
Start with the built-in lessons — joins, window functions, JSONB, recursive queries, PL/pgSQL triggers — on the train, on a plane, anywhere.
Free: PostgreSQL itself, notebooks, the terminal and charts. Pro is a one-time purchase that unlocks every extension. No subscription.
Tuple is open source. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada; Tuple is not affiliated with or endorsed by it.