Pocketbase

Open Source backend in 1 file

HeadlessAPI-FirstOpen SourceGoRESTSelf-Hosted

Overview

PocketBase is an open source Go backend consisting of embedded database (SQLite) with real-time subscriptions, built-in auth, and file storage.

License

MIT

Best for:

PrototypesSmall appsMobile backendsSide projects

Features

REST API
Real-time Subscriptions
Authentication
File Storage
Admin UI
Hooks

Pricing

Free TierNo
Free LimitUnlimited, open source
Self-hostedYes

Compatible Technologies

Technical Features

GraphQL API
REST API
Webhooks
Headless
Visual Editor
Live Preview
Media Library
Image Optimization
CDN Included
i18n
Version History
Drafts
Role-Based Access
Multi-Tenant
Audit Logs
TypeScript
Official SDK
CLI Tool
Plugin Ecosystem
SSO / OAuth
CI/CD Integration
Caching
Edge Deployment
Auto Scaling

Community

37000

GitHub Stars

5k+

Discord Members

Enterprise Features

Security & Compliance

PocketBase is a lightweight open-source backend built with Go, packaged as a single executable file that requires no external dependencies. While not a traditional headless CMS by design, it provides a real-time database, authentication, and a built-in admin UI that make it a practical content management solution for developers who prefer minimal infrastructure.

Key Features and Benefits

PocketBase offers a fully functional REST API out of the box, along with real-time subscriptions via SSR, making integration with modern frontend frameworks fast and efficient. Its embedded SQLite database eliminates the need for separate database setup, while the admin dashboard allows non-technical users to manage collections and records without writing code. Developers benefit from straightforward deployment — the entire backend runs as a single binary — and the ability to extend functionality through JavaScript hooks or by using PocketBase as a Go framework for custom logic.

Use Cases and Target Audience

PocketBase is best suited for indie developers, small teams, and startups building MVPs, internal tools, or lightweight web applications that need a simple content management backend without the overhead of larger platforms. Its minimal footprint and zero-dependency architecture make it an appealing headless CMS alternative for projects where speed of setup and low operational cost are priorities.