Skip to content

Pocketbase

PocketBase is an open source backend that ships as a single executable file, combining an embedded SQLite database, authentication, file storage, realtime subscriptions and an admin dashboard. It's written in Go, released under the MIT license, and is self-hosted only, with no official managed cloud offering. Developers run the binary on their own server or extend it with Go or JavaScript.

By PocketBase (open source project)Open sourceSince 2022Databases

Facts checked on against the sources listed at the end of this page.

Pricing
Open sourceFree plan: Yes, PocketBase is free and self-hosted; there is no paid managed version
Open source
YesMIT
GitHub stars
61,305
npm downloads a week
286kup 8% on the week before
Latest release
v0.40.43 weeks ago
Releases in 90 days
5about 2 a month

A good fit for

  • Small to medium apps that want a full backend without managing separate database, auth and storage services
  • Self-hosters and indie developers who want low infrastructure cost on a single small server
  • Prototypes and side projects that need auth, a database and file storage quickly
  • Teams comfortable running and backing up their own infrastructure

Not a good fit for

  • Teams that want a managed cloud service with no server to operate, since PocketBase has no official hosted plan
  • Applications that need to scale writes across multiple servers, since SQLite is a single-file, single-writer database
  • Large teams needing built-in multi-region replication or horizontal scaling out of the box

Pocketbase pricing

PocketBase itself is free and open source under the MIT license. There's no official paid or managed plan; costs come only from whatever server or hosting you run it on.

Prices in USD, checked on 27 September 2026. Current prices on pocketbase.io.

Main features

Single-file backend
One executable includes the database, API server, auth and admin dashboard, no separate services to install.
Embedded SQLite
Uses SQLite as the database, stored as a local file alongside the application.
Authentication
Email/password and OAuth2 logins with providers like Google and GitHub.
File storage
Attach files to records, stored locally or in S3-compatible storage.
Realtime subscriptions
Subscribe to record changes over a realtime API for live-updating clients.
Admin dashboard
Built-in web UI for managing collections, records, users and settings without writing code.
Extendable in Go or JavaScript
Import PocketBase as a Go framework, or add custom logic with JavaScript hooks, without forking the codebase.

About Pocketbase

PocketBase packages a backend into one small, dependency-free executable: it embeds SQLite as its database, along with authentication, file storage, a REST and realtime API, and a built-in admin dashboard for managing records and settings.

It's written in Go and can be extended in two ways: as a Go framework imported into a custom application, or via JavaScript hooks for teams that don't want to write Go. Client SDKs are available for JavaScript and Dart, covering web, mobile and desktop apps.

PocketBase has no official hosted cloud version, so teams deploy the binary themselves, typically on a small VM or container, which keeps hosting costs low but puts backups, scaling and uptime on the operator rather than a managed provider.

Made by
PocketBase (open source project)
Free plan
Yes, PocketBase is free and self-hosted; there is no paid managed version
Available on
Self-hosted (single binary), Go, JavaScript SDK, REST API

Usage and activity

Weekly npm downloads of pocketbase, last 12 months.

0100k200k300kOctDecJanMarMayJulOct7 October 2025: 30,716 downloads a week14 October 2025: 27,531 downloads a week21 October 2025: 34,241 downloads a week28 October 2025: 36,339 downloads a week4 November 2025: 39,625 downloads a week11 November 2025: 32,488 downloads a week18 November 2025: 33,313 downloads a week25 November 2025: 35,870 downloads a week2 December 2025: 36,006 downloads a week9 December 2025: 39,913 downloads a week16 December 2025: 40,563 downloads a week23 December 2025: 37,498 downloads a week30 December 2025: 28,403 downloads a week6 January 2026: 33,350 downloads a week13 January 2026: 52,232 downloads a week20 January 2026: 50,899 downloads a week27 January 2026: 57,901 downloads a week3 February 2026: 59,658 downloads a week10 February 2026: 65,435 downloads a week17 February 2026: 83,085 downloads a week24 February 2026: 89,020 downloads a week3 March 2026: 90,751 downloads a week10 March 2026: 112,603 downloads a week17 March 2026: 129,546 downloads a week24 March 2026: 149,618 downloads a week31 March 2026: 158,373 downloads a week7 April 2026: 163,517 downloads a week14 April 2026: 196,491 downloads a week21 April 2026: 217,948 downloads a week28 April 2026: 234,409 downloads a week5 May 2026: 236,548 downloads a week12 May 2026: 229,591 downloads a week19 May 2026: 234,741 downloads a week26 May 2026: 218,898 downloads a week2 June 2026: 207,115 downloads a week16 June 2026: 218,368 downloads a week23 June 2026: 200,116 downloads a week30 June 2026: 192,658 downloads a week7 July 2026: 194,763 downloads a week21 July 2026: 190,178 downloads a week28 July 2026: 193,853 downloads a week4 August 2026: 197,305 downloads a week11 August 2026: 200,492 downloads a week25 August 2026: 221,391 downloads a week1 September 2026: 274,536 downloads a week27 September 2026: 263,886 downloads a week4 October 2026: 286,001 downloads a week

Recent releases

Pocketbase alternatives

All 10 alternatives to Pocketbase, side by side

Pocketbase compared

Questions about Pocketbase

Is PocketBase free?

Yes, PocketBase is fully open source under the MIT license, and there's no paid version. You only pay for whatever server you host it on.

Does PocketBase have a hosted cloud version?

No, there's no official managed PocketBase cloud. It's designed to be self-hosted as a single binary on your own server.

What database does PocketBase use?

It embeds SQLite, storing data as a local file alongside the application binary.

Can I extend PocketBase with custom code?

Yes, either by importing it as a Go framework into your own application, or by writing JavaScript hooks without touching Go code.

Sources and links

Work on Pocketbase? Claim this listing. Something wrong or out of date? Suggest a correction. Stats come from the public GitHub and npm APIs and update every day.

Pocketbase: pricing, features and alternatives (2026) | ScratchDB