Using PocketBase instead of Firebase
Packages SQLite, authentication, file handling and realtime subscriptions in a standalone backend.
The official docs warn against production-critical use before version 1.0 unless you accept compatibility changes and manual migrations. Assess that risk before committing important workloads.
- Data model
- SQLite-backed collections in one application. Check queries and relationships against your Firestore model. Official data model documentation
- Sign-in
- Built-in authentication. Treat account import and existing Firebase sessions as a separate migration task. Official sign-in documentation
- Files
- Files attach to records; protected files use access rules and tokens. Preserve record-to-file relationships during import. Official files documentation
- Live updates
- Realtime subscriptions are built in. Test the events and reconnect behavior your app requires. Official live updates documentation
- Access rules
- Collection API rules control listing, viewing, creation, updates and deletion. Superusers bypass those rules; test with ordinary users. Official access rules documentation
- Operating the backend
- A compact embedded backend. Its docs warn against production-critical use before v1.0 unless you accept compatibility changes and manual migrations. Official operating the backend documentation
Documentation reviewed October 7, 2026; this is decision guidance, not a hands-on benchmark.
Overview
PocketBase is one binary with an embedded database, auth, file storage, and an admin UI. It fits small apps that do not need a platform team.
What it does
- Single binary
- Auth and files
- Admin dashboard
Capability source: Project documentation
Who PocketBase fits
Small applications that need a backend without a cluster.
How you run it
PocketBase runs on infrastructure you manage.
Documented deployment options: Binary, Docker.
Before you choose it
The embedded database is the point. It is the wrong tool for a large multi-tenant platform.
Self-hosting and deployment
- Self-hostable
- Yes
- Docker noted in deployment tags
- Yes
- Deployment tags
- Binary, Docker
- Difficulty
- Easy
PocketBase questions
- What is PocketBase?
- A single-file backend with a database and admin.
- Is PocketBase open source?
- Yes. Its source code is public on GitHub under the MIT license.
- Can you self-host PocketBase?
- Yes. Listed deployment options: Binary, Docker.
- What are alternatives to PocketBase?
- PocketBase is listed as an open-source alternative to Firebase. Similar databases projects include Supabase, Appwrite, and Hasura.
- Is PocketBase actively maintained?
- The latest commit on GitHub was October 23, 2026, and the repository has 62k stars (up 395 since October 1, 2026). GitHub marks the repository archived.
Related projects
Other approved projects in Databases: Supabase, Appwrite, Hasura.
- Stars
- 115,118
- Updated
- License
- Apache-2.0
- Hosting
- Both
- Category
- Databases
- Stars
- 58,232
- Updated
- License
- BSD-3-Clause
- Hosting
- Both
- Category
- Databases
- Stars
- 32,127
- Updated
- License
- Apache-2.0
- Hosting
- Self-hosted
- Category
- Databases
Maintain PocketBase? Add the README badge
[](https://pickopensource.site/project/pocketbase)
Claim this listing to edit its profile, add a screenshot, and see listing analytics.