Skip to content
// tools · database

A real PostgreSQL server lives in this app

PostgreSQL 18.2 embedded in the app — offline, no root. Plus eight more SQL and NoSQL engines, an AI SQL console, a visual ER designer and safe mode.

Database
DB Manager
PostgreSQL 18.2 embedded9 enginesAI SQLER designersafe mode

Postgres, zero config

A real database on the phone, ready in seconds.

  • Real ARM postgres binary, no root, no network
  • Instant start from a pre-built data directory
  • Health-checked over a Unix socket

One client, every engine

Local, cloud and NoSQL without switching UIs.

  • SQLite, PostgreSQL, Neon, Supabase, PlanetScale
  • MongoDB, Turso, Upstash and Firestore
  • SSH tunnel, five SSL modes, connection test

SQL in plain language

Describe it; get SQL with the trade-offs.

  • Natural language to SQL with a confidence score
  • Warnings and alternative queries
  • Matched tables and columns, named parameters

Safe mode and masking

You can't accidentally wipe production.

  • Intercepts DELETE without WHERE, DROP, TRUNCATE
  • Data masking with six types, auto-detected columns
  • Slow-query log, active-query kill, biometric lock

// spec

The spec sheet

Embedded PostgreSQL18.2
Database engines9
ER diagram export7 formats
Mock data fields25+ types
Backup methods4 · 3 dests
Data masking6 types
Dashboard charts5
Native buildsarm64 · v7a

plan.free

  • ·Embedded Postgres, one database
  • ·All nine engines to connect
  • ·SQL console and data viewer
  • ·Safe mode and SQL/CSV backup

plan.premium

  • +Unlimited databases and queries
  • +ER designer and schema diff
  • +Mock data, masking, monitoring
  • +Scheduled backups and dashboards

// faq

Frequently asked questions

Can you run PostgreSQL on an Android phone?

Yes. PocketCode runs a real embedded PostgreSQL 18.2 server directly on the device (arm64 and armeabi-v7a), so you can create, query, and manage a full Postgres database with no external server and no internet connection.

Which database engines are supported?

Nine engines in total. Besides embedded PostgreSQL you can connect to and manage other SQL and NoSQL databases, browsing tables, running queries, and editing rows from one interface — whether the database is on-device or remote.

Can it generate ER diagrams?

Yes. The database manager reverse-engineers your schema into entity-relationship diagrams and exports them in 7 formats, so you can visualize and document how tables relate straight from your phone.

Can you use AI to write SQL?

Yes. The built-in AI assistant turns plain-language requests into SQL and can explain a query's execution plan, helping you write and optimize queries without memorizing exact syntax for every engine.

Does it protect sensitive data?

Yes. It offers data masking with 6 masking types plus scheduled backups (4 kinds to 3 destinations), so production values can be hidden while you work and your data stays recoverable if something goes wrong.

Put it in your pocket

Android 9+ · ~250 MB · free