PocketBase
PocketBase is an open source backend in a single file with embedded database, authentication, file storage, and REST API
pocketbase.ioLast updated: April 2026
PocketBase is an open source backend in a single file with embedded database, authentication, file storage, and REST API built with Go.
About
PocketBase is a remarkable open source backend solution that packages an entire backend into a single executable file. Written in Go, PocketBase includes an embedded SQLite database, a real-time REST API, user authentication, file storage, and an admin dashboard, all accessible without installing any dependencies or managing any infrastructure beyond running a single binary.
The core appeal of PocketBase is its radical simplicity and portability. Unlike traditional backend stacks that require installing and configuring separate services for the database, authentication, and API layer, PocketBase consolidates all of this into one file that can be downloaded, run with a single command, and immediately provide a fully functional backend. This makes it exceptionally fast to start new projects and easy to deploy anywhere that can run a binary.
The database layer uses SQLite, a reliable and performant embedded database that has powered countless production applications. PocketBase's schema management allows developers to define collections (tables) with typed fields including text, number, boolean, date, file, relation, JSON, select, email, URL, and editor fields. The admin UI provides a clean interface for creating and modifying collections without writing SQL.
The automatically generated REST API follows predictable conventions for creating, reading, updating, and deleting records. It supports filtering, sorting, pagination, and relation expansion out of the box. A JavaScript SDK makes it easy to interact with the API from web and mobile applications. The realtime API, built on Server-Sent Events (SSE), allows clients to subscribe to record creation, update, and deletion events for live-updating interfaces.
Authentication in PocketBase supports email and password login, OAuth2 providers (Google, GitHub, GitLab, Discord, Twitter, Facebook, and others), username and password, and anonymous authentication. Multi-factor authentication is supported, and the developer can customize email templates for verification and password reset flows.
File storage is built directly into PocketBase. Files uploaded via the API are stored in the local file system or in S3-compatible object storage, and they are associated with record fields for easy management. Image thumbnails are generated automatically, and access to files respects collection-level access rules.
Access control in PocketBase is managed through collection rules, which are filter-like expressions that define who can list, view, create, update, and delete records. These rules are evaluated in the context of the authenticated user, enabling powerful row-level security patterns without complex middleware.
PocketBase is designed to be extended. The Go package exposes hooks, middleware, and APIs that allow developers to add custom business logic, integrate with external services, override default behaviors, and register additional routes. This means that while PocketBase can be used as a standalone binary, it can also serve as a foundation for a fully custom backend application.
For solo developers, indie hackers, small teams, and anyone who values simplicity over complexity, PocketBase represents a genuinely compelling approach to backend development that eliminates much of the operational overhead associated with traditional multi-service architectures.
Positioning
PocketBase provides pocketbase is an open source backend in a single file with embedded database, authentication, file storage, and rest api built with go.
PocketBase is built for IT professionals who need reliable, well-documented solutions for their infrastructure and operations challenges.
What You Get
- Professional Support
Access documentation, community forums, and professional support options - Regular Updates
Benefit from continuous improvements and security patches
Core Areas
Operations
PocketBase helps teams streamline their operational workflows and reduce manual overhead.
Why It Matters
PocketBase addresses a real need in the IT landscape: pocketbase is an open source backend in a single file with embedded database, authentication, file storage, and rest api built with go.
PocketBase has established itself as a trusted solution in its category, with a growing community of users and contributors.
Reviews
No reviews yet.
Log in to write a review
Related
Forest Admin
Forest Admin is a developer-first admin panel platform that auto-generates a back office from your database schema with full customization via code.
Rowy
Rowy is an open source platform providing a spreadsheet UI for Firebase Firestore with cloud functions, automations, and field type extensions.
Estuary
Estuary Flow is an open source real-time data integration platform for building low-latency CDC pipelines between databases, APIs, and data warehouses.