PocketBase is an open-source backend that ships as a single executable file, bundling an embedded realtime database, user authentication, file storage and an admin dashboard.
You download one binary, run it, and get a REST API and admin UI immediately. PocketBase is written in Go and can be used as a standalone app or as a Go framework extended with Go or JavaScript, which makes it a favorite for side projects, prototypes and small production apps.
Key features
- Single-file executable with no external dependencies
- Embedded database with a schema builder and data validation
- Realtime subscriptions over a REST-style API
- Email/password and OAuth2 authentication
- File storage
- Built-in admin dashboard
- Extensible with Go or JavaScript hooks
- Official JavaScript and Dart SDKs
Who it's for
PocketBase is aimed at indie developers, hobbyists and small teams that want a full backend with almost zero setup and minimal hosting cost.
Common use cases
- Building the backend for a side project or MVP
- Powering a mobile or Flutter app
- Running a lightweight internal tool
- Prototyping realtime features
Pricing
PocketBase is free and open source. There is no paid hosted plan on the official site; you run it on your own server.
Alternatives
- Supabase: Postgres-based open-source backend
- Appwrite: open-source all-in-one backend platform
- Firebase: Google's hosted backend-as-a-service
FAQ
Is PocketBase free?
Yes. PocketBase is free and open source.
What is PocketBase used for?
PocketBase is used as a lightweight backend that provides a database, auth, file storage and a realtime API for web and mobile apps.
PocketBase vs Supabase: which should I choose?
PocketBase is a single-file, SQLite-based backend ideal for small apps, while Supabase is a hosted, Postgres-based platform for larger workloads.
Is PocketBase production ready?
PocketBase is still pre-1.0, so the project notes that breaking changes may occur between releases; many people use it for small production apps.
Can I extend PocketBase?
Yes. You can extend it with Go or with JavaScript hooks.
What database does PocketBase use?
PocketBase uses an embedded SQLite database.
