Developer Tools · Frameworks & Platforms
PocketBase
A compact Go backend with SQLite, auth, files, and realtime APIs
PocketBase is an open source Go backend combining SQLite, realtime subscriptions, authentication, file management, an admin dashboard, and a REST style API. MIT licensing permits commercial use. PocketBase itself is self hosted, while independent PocketBase Cloud offers managed plans from free to $25 per month. Its portable design suits small applications and teams seeking low infrastructure overhead, though pre 1.0 status and single server scaling require careful operational planning.
Key facts
- License
- MIT
- Main language
- Go, JavaScript, HTML, CSS
- Maintainer
- Gani Georgiev
- First released
- 2022
- Latest release
- v0.40.5, October 8, 2026
- GitHub stars
- 61,534, October 2026
- Hosted option
- None from the project; independent PocketBase Cloud plans from free to $25/month
What PocketBase is
PocketBase is an open source Go backend maintained by Gani Georgiev as a personal volunteer project. The repository was created in 2022 and lists 61,534 stars, 3,736 forks, and Georgiev as its leading contributor with 2,501 contributions. The project says no company or paid team backs it, and it does not accept ordinary donations. PocketBase targets self contained applications running on one server, including small SaaS products, mobile API backends, intranets, and prototypes. Its single binary design suits teams that want application services without separately installing a database server or several supporting services. Adoption is substantial for a personal project, although repository metrics do not identify named production users or formal commercial sponsors.
How it works
PocketBase combines an embedded SQLite database, realtime subscriptions, authentication, file management, user management, an administrative dashboard, and a REST style API. A typical user downloads a release, starts the server, creates a superuser, and defines collections through the dashboard. Collection changes can be recorded in JavaScript migration files. Client applications call the API or use the official JavaScript and Dart SDKs, while realtime clients receive record changes. Authentication supports passwords, verification, resets, and more than 15 OAuth2 providers. Files attach to records and follow collection access rules. Custom application logic runs through Go or JavaScript extensions rather than cloud functions. The frontend remains the developer's responsibility.
Architecture and recent releases
PocketBase is written primarily in Go and uses SQLite in WAL mode through an embedded driver. It runs as a standalone application or as a Go framework that produces one portable executable. Official documentation lists Linux, Windows, and macOS downloads for x64 and ARM64, while the repository documents additional pure Go build targets. Version 0.40.5, released October 8, 2026, updated the SQLite dependency, raised the minimum Go GitHub Action version to 1.27.2, improved JavaScript migration error handling, and added CORS checks. Version 0.40.0 migrated to encoding/json/v2 and raised the minimum Go version to 1.27. PocketBase remains pre 1.0, so backward compatibility is not guaranteed.
License and pricing
PocketBase uses the MIT License, which permits commercial use, modification, redistribution, and offering the software as a paid service, provided the license and copyright notice remain included. The project itself offers no hosted product and has no official enterprise tier. Independent PocketBase Cloud lists a free plan with one instance, 50 MB storage, and 5,000 API requests per hour. Its Starter plan costs $10 per month or $100 per year, while Pro costs $25 per month or $250 per year. These are third party managed hosting plans, not charges from the PocketBase project. Self hosting still requires operators to pay for infrastructure, backups, monitoring, and maintenance.
Limitations and how it compares
PocketBase scales vertically on a single server and supports embedded SQLite rather than another database out of the box. The documentation warns that production critical use requires reading changelogs and applying manual migration steps. Supabase offers managed PostgreSQL and a broader hosted service, Appwrite provides another open source backend platform, and Firebase supplies proprietary managed operations. PocketBase also lacks cloud functions and built in frontend screens for login and registration. Its small footprint suits modest deployments, but a single server model limits replication and multi server designs. Choose PocketBase when SQLite, one server deployment, and a portable Go application matter more than managed scaling, database choice, or formal support.
Main features
- Embedded SQLite database. Stores application data locally in SQLite without requiring a separate database server or external database service.
- Realtime subscriptions. Delivers record changes to connected clients through the backend's realtime subscription support.
- Built in authentication. Supports user management, passwords, verification, resets, and more than 15 OAuth2 providers.
- File and user management. Associates uploaded files with records and applies collection rules to users and stored content.
- Administrative dashboard. Provides browser based management for collections, records, users, files, logs, and application settings.
- Go framework. Lets developers add application specific Go logic while retaining a single portable executable.
- JavaScript extensions. Enables hooks and migration scripts through the JavaScript VM included with prebuilt executables.
Self-hosting PocketBase
Download a prebuilt PocketBase executable for Linux, Windows, or macOS on x64 or ARM64, extract the archive, and run the serve command. Developers can also build the project with Go, use it as a Go framework, or compile the example application for documented pure Go targets. PocketBase requires no PostgreSQL, Redis, object storage, or orchestrator. It stores application data and uploaded files in pb_data and migration scripts in pb_migrations. Use persistent storage, keep data directories out of source control, test backups and restores, and review changelogs before upgrades. The project publishes no universal minimum hardware requirement. Before version 1.0.0, upgrades may require manual migration steps.
Strengths
- One executable includes the database, API, authentication, files, realtime features, and administration.
- MIT licensing permits commercial distribution and paid services.
- SQLite avoids a separate database server for small deployments.
- Go and JavaScript extension paths support custom application logic.
Drawbacks
- Scaling is limited to one vertically scaled server.
- Pre 1.0 compatibility is not guaranteed between releases.
- The project has no paid team or official support commitment.
What teams replace with it
Teams usually evaluate PocketBase when they want to move off Firebase, Backendless, Heroku.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is PocketBase free?
Yes. PocketBase is MIT licensed and can be downloaded and run without a software charge. Operators still pay for servers, storage, bandwidth, backups, and maintenance. The PocketBase project does not offer hosting. Independent PocketBase Cloud has a free plan, plus paid Starter and Pro managed hosting plans.
Can PocketBase be used commercially?
Yes. The MIT License allows commercial use, modification, redistribution, and offering PocketBase as a paid service. Distributors must retain the license and copyright notice. An application built with PocketBase can have separate obligations for its own code, bundled dependencies, user data, and third party services.
What does PocketBase require for self hosting?
The normal installation needs one executable and a writable persistent data directory. SQLite is embedded, so PostgreSQL and Redis are not required. The application stores records and uploaded files under pb_data and migrations under pb_migrations. No universal minimum hardware specification is published. Operators should protect administration, supervise the process, and test backups.
How does PocketBase compare with Supabase?
PocketBase is a compact, single server backend built around SQLite and a portable Go executable. Supabase provides a PostgreSQL based platform with managed hosting and a broader service set. PocketBase suits small deployments where local storage and low operational complexity matter. Supabase suits teams needing managed database operations, broader scaling choices, and hosted platform services.
Is PocketBase suitable for production?
PocketBase can serve small and midsize applications, but its documentation does not recommend it for production critical applications unless operators accept manual migration work. It scales vertically on one server and remains pre 1.0. Production operators must configure access rules, protect the admin account, maintain backups, monitor the process, and review each upgrade.
Similar projects to compare
- SupabaseApache-2.0Supabase is a Postgres development platform with authentication, generated APIs, realtime subscriptions, file storage, functions, and a dashboard. The main repository uses Apache-2.0, permitting commercial use under its terms. Hosted plans start at $0 per month, while teams can run the Docker configuration on their own infrastructure and manage operations independently.
- AppwriteBSD-3-ClauseAppwrite is an open-source backend platform combining authentication, databases, storage, functions, messaging, hosting, realtime features, firewall controls, and MCP access. It is licensed under BSD 3-Clause, runs through Docker or Kubernetes when self-hosted, and is also available through Appwrite Cloud, which has a Free plan and paid database options.
- DirectusMSCL-1.0-GPL (source-available)Directus is a self hosted data platform that adds APIs, an administration app, permissions, flows, and extensions to SQL databases. Monospace maintains it under the MSCL-1.0-GPL license, which is source available rather than OSI approved open source. Directus offers self hosting, Directus Cloud, and paid Team and Enterprise options.
- NHostMITNhost is an open source backend platform for developers who want PostgreSQL, GraphQL, authentication, file storage, and JavaScript or TypeScript functions together. Its repositories use the MIT license, and Nhost Cloud offers a free tier plus paid plans starting at $25 monthly. Teams can also run the stack locally or self-host it with Docker Compose.
- ActivePiecesMIT, Commercial License for enterprise featuresActivePieces is an open-source workflow automation platform for teams building flows, AI agents, tables, and MCP connections. Its core uses the MIT license, while enterprise features use a Commercial License. A hosted cloud exists with a free tier, paid plans from $20 monthly, and cloud or on-premises deployment options.
- AITableAGPL-3.0AITable is an AGPL-3.0 low-code platform that combines spreadsheet-style databases, forms, automation, dashboards, permissions, APIs, and embedding. It targets teams building collaborative internal tools and data applications. A hosted AITable.ai service exists alongside the self-hostable Open Source edition, while enterprise embedding and administration require separate commercial terms.
Sources
Last updated 2026-10-22.