Skip to content

PostgreSQL · Local · embedded server

Can you run PostgreSQL on Android?

Short answer

Yes. PocketCode bundles a real, embedded PostgreSQL 18 server that runs directly on your Android device — not a wrapper or emulator. The actual postgres, psql and initdb binaries are extracted on first use and boot in seconds. You get full SQL, JSONB, window functions and extensions, entirely offline.

What you can do with it

  • Build and test a production-grade Postgres schema without any cloud host
  • Develop against real PostgreSQL features — JSONB, CTEs, window functions — offline
  • Run a local database server for on-device app development and debugging
  • Learn advanced SQL on the exact engine your production backend uses

Good to know

The embedded server runs on arm64 and armeabi-v7a devices. The first local database is free; creating additional databases inside the local server is a Pro feature. Everything stays on-device — nothing is uploaded and no internet connection is required.

PocketCode launches on Google Play soon

Pre-register now to be notified the moment it's available on your Android device.

Pre-register on Google Play