Manage your database
in plain English
TableAI is a native macOS database client
built for the age of AI.
intNULLnumeric(8,2)NOT NULLFound shipments that were sent but have no recorded delivery (shipped_at is set and delivered_at is NULL).
Oldest matches:
63 shipments have no recorded delivery, and the preview lists the oldest 50. The oldest is shipment 288 for order 572, shipped January 6, 2024 via Northstar Express.
These records indicate missing delivery timestamps, not necessarily confirmed lost or undelivered packages.
Use the #>> operator to extract the nested value as text, then cast it to numeric for comparison:
Notes:
#>> '{offers,0,price}' navigates: metadata → offers →[0] → price
Ask in plain words. The agent explores your schema, runs read-only queries and shows each step.
Works with the databases you already run
Local, in Docker or on a hosted service. Connect over SSH tunnels and SSL/TLS, or paste a connection URL.
Also on hosted services
Amazon RDS
Aurora
Cloud SQL
Azure
Supabase
Neon
PlanetScale
Heroku
- PostgreSQL
- MySQL
- MariaDB
- SQLite
- SQL Server
- Amazon Redshift
Know why your database is slow
Connections, slow queries, locks and storage in one native window. AI Analysis tells you what to fix first, with the SQL.
Select which database information to send to the AI
How is your database schema managed? This helps the AI provide appropriate recommendations.
The AI will include warnings on any schema-modifying queries, advising you to verify with your team before execution.
The AI may propose schema SQL such as new indexes, labeled as candidates for your migrations. It won't recommend running schema changes outside your migration workflow.
Select the AI provider and model for analysis
Confirm your selections before starting the analysis
Automatic checks send only object names and measurements, never row values.
Problem: order_items (~1.9M rows, 912 MB) has no index that starts with order_id or book_id. The slowest join workload joins it on book_id and averages 1.92s over 1,206 calls, 38m 35.5s in total. Every call reads the whole table instead of an index HC-004 with 2 flagged foreign keys.
Confidence: High.
Fix: your schema is managed by migrations, so add both indexes in a migration. Build them concurrently so checkout keeps writing while they build:
CREATE INDEX CONCURRENTLY order_items_book_id_idx ON public.order_items (book_id); CREATE INDEX CONCURRENTLY order_items_order_id_idx ON public.order_items (order_id);
After deploying the migration, this read-only check should return zero rows:
SELECT c.conname AS foreign_key, a.attname AS column_name FROM pg_constraint c JOIN pg_attribute a ON a.attrelid = c.conrelid AND a.attnum = c.conkey[1] WHERE c.contype = 'f' AND c.conrelid = 'public.order_items'::regclass AND NOT EXISTS (SELECT 1 FROM pg_index i WHERE i.indrelid = c.conrelid AND i.indkey[0] = c.conkey[1]);customer_events has 18% dead rows and stock has 12% HC-007. Autovacuum last finished on both before the weekend import.
Uptime, connections, size and what needs attention, on one screen.
Everything you expect
from a database client
Work with data
Fast data grid
Stays smooth with many thousands of rows.
SQL autocomplete
Suggests tables, columns and keywords as you type.
Edit data safely
Change, add and delete rows. Nothing is saved until you click Apply.
JSON tree editor
Expand, edit and move nested values without touching raw text.
Tables and trust
Edit table structure
Columns, keys and indexes, with the SQL shown first.
Import and export
CSV, JSON, NDJSON and SQL, with a review before import.
Query guardrails
Changes to data or schema can wait for your approval.
Query history
Search every query that ran, including the AI agent’s.
Safely distributed through the App Store
The Mac App Store is the safest place to get Mac apps, because App Store team reviews every app before you can install it. That’s why TableAI is available only there.
Download on the App StoreApp Store reviewed
Apple reviews every version before it reaches the store.
Code-signed and verified
macOS checks the signature, so you know the app wasn’t changed.
Sandboxed by macOS
TableAI can open only the files you choose.
Nothing sits between you and your data
Direct connection
TableAI connects from your Mac directly to your database, whether it's local, behind a VPN or in the cloud. No TableAI server or proxy ever sees your queries or results.
Encrypted and verified
Connect over SSL/TLS or an SSH tunnel. TableAI checks SSH host keys before it connects, and your passwords and keys are stored in the macOS Keychain.
Bring your own key
Use your own API key from OpenAI, Anthropic, OpenRouter, DeepSeek or Alibaba. Requests go straight to that provider, and you choose what context the AI sees.
TableAI App
Running on your Mac
Your DB
Direct, over SSL or SSH
Your LLM provider
HTTPS, with your API key
Comparisons and guides
- Best SQL client for MacSix database apps for Mac compared, with prices.
- Best PostgreSQL GUI for MacSix apps compared, with prices and screenshots.
- Best MySQL client for MacEight MySQL clients for Mac compared, with prices and free-plan limits.
- TablePlus alternativesWhat you gain or give up by switching from TablePlus.

Download your new favorite database client
Everything you need to query, explore, and manage your databases in one powerful macOS app.
Download for free on theMac App Store