# PrivateBin

> A minimalist, open source online pastebin where the server has zero knowledge of stored data

Source: https://talira.ai/catalog/privatebin-594e69gr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [security / secure sharing / pastebins](https://talira.ai/categories/security/secure-sharing/pastebins)
- Platforms: web, linux, docker[^12]
- Licence: Zlib[^11]
- Pricing: Free and open source[^9][^11]
- Pricing notes: Free and open source; you host it yourself or use a public instance.
- Free tier: yes[^9][^11]
- Self-hostable: yes[^12]
- API: yes[^13]
- Backed by: [PrivateBin](https://talira.ai/orgs/privatebin.md)

PrivateBin is a self-hosted pastebin that encrypts text in the browser with 256-bit AES-GCM before it's uploaded, so the server stores only ciphertext and the key travels in the part of the link after the `#`. Pastes can expire after a set time or after the first read, need a password, carry a threaded discussion, render Markdown or highlighted source code, include attachments with previews, and come with a QR code. It's a PHP app (7.4 or later) that stores data in files, a PDO database such as MariaDB, [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md) or [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md), Google Cloud Storage or S3, with official [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) images, and a JSON API for clients. It's a fork of Sébastien Sauvage's ZeroBin, under the zlib licence, and its site lists public instances.

## Links

- Website: https://privatebin.info/
- GitHub: https://github.com/PrivateBin/PrivateBin
- Docs: https://github.com/PrivateBin/PrivateBin/wiki

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/privatebin-0q3gv930nj3g43>[^1]
- [Coolify](https://talira.ai/catalog/coolify-0mx3mr9d.md): <https://coolify.io/docs/services/privatebin>[^2][^3]
- [umbrelOS](https://talira.ai/catalog/umbrelos-raerq7g7.md): <https://apps.umbrel.com/app/privatebin>[^4]
- [YunoHost](https://talira.ai/catalog/yunohost-f9asga4s.md): <https://apps.yunohost.org/app/privatebin>[^5]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/privatebin>[^6]

### Hosted for you

- [PikaPods](https://talira.ai/catalog/pikapods-c2638xaq.md): <https://www.pikapods.com/apps/privatebin>[^7]
- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/privatebin>[^8]

## Problems it solves

- share a stack trace or config snippet with a colleague without leaving it on a public pastebin
- send someone a password or API key with a link that stops working after it's read once
- a self-hosted Pastebin alternative where the server can't read what people paste
- run a paste service for my community without being able to see or be liable for its contents
- share text that expires after an hour, a day or a week
- protect a shared note with a password as well as the link
- paste source code with syntax highlighting and get a short link to send
- share a file or screenshot through an encrypted link instead of email
- an end-to-end encrypted way to send support logs to a vendor
- a pastebin for our internal network that stores paste data in S3 or PostgreSQL
- discuss a snippet with comments that are encrypted too
- transfer a long text from my laptop to my phone with a QR code
- create pastes from a script through an API on our own paste server
- an encrypted pastebin that runs on cheap PHP hosting

## Features

- pastes encrypted and decrypted in the browser with 256-bit AES-GCM; the key stays in the URL fragment
- optional password protection
- expiry times, including never and burn after reading
- discussions, anonymous or with nicknames, with identicons or vizhashes
- Markdown with preview and syntax highlighting with four themes
- optional file uploads with image, media and PDF previews
- QR codes for paste URLs
- templates (bootstrap5, bootstrap, darkstrap) and translations with browser language detection
- storage in files, a PDO database (SQLite, MariaDB/MySQL, PostgreSQL), Google Cloud Storage or S3
- official Docker images on Nginx with php-fpm or FreeUnit, with file, database, GCS and S3 variants
- JSON API for creating and reading pastes and comments

## Limitations

- Doesn't protect a leaked link: the decryption key is in the URL, so anyone with the link to a paste without a password can read it[^9][^10]
- Doesn't hide who opened a paste: the server's access logs can still show who accessed it, and admins can be forced to hand them over[^9]
- Doesn't protect you from a compromised or coerced server: the admin could serve code that captures decryption keys[^9]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Opengist](https://talira.ai/catalog/opengist-53xdgfzc.md): Self-hosted pastebin powered by Git, open-source alternative to GitHub Gist
- [Onetime Secret](https://talira.ai/catalog/onetime-secret-sgcqy8hm.md): Keep passwords and other sensitive information out of your chat logs and emails.
- [Yopass](https://talira.ai/catalog/yopass-prxycj7t.md): Share secrets without leaving plaintext behind
- [ByteStash](https://talira.ai/catalog/bytestash-9rrtagc5.md): A code snippet storage solution written in React & Node.js
- [CryptPad](https://talira.ai/catalog/cryptpad-knmbhva0.md): Collaborative office suite, end-to-end encrypted and open-source
- [Password Pusher](https://talira.ai/catalog/password-pusher-vpyqkv3t.md): Share passwords, text, files & URLs securely with self-deleting links and full audit logs.

## Sources

[^1]: https://ca.unraid.net/api/apps/privatebin-0q3gv930nj3g43 (checked 20 Nov 2026)
[^2]: https://coolify.io/docs/services/privatebin (checked 20 Nov 2026)
[^3]: https://github.com/coollabsio/coolify/blob/v4.x/templates/compose/privatebin.yaml (checked 20 Nov 2026)
[^4]: https://github.com/getumbrel/umbrel-apps/blob/master/privatebin/umbrel-app.yml (checked 21 Nov 2026)
[^5]: https://app.yunohost.org/default/v3/apps.json (checked 21 Nov 2026)
[^6]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/privatebin.sh (checked 21 Nov 2026)
[^7]: https://www.pikapods.com/apps/privatebin (checked 20 Nov 2026)
[^8]: https://railway.com/deploy/privatebin (checked 20 Nov 2026)
[^9]: https://github.com/PrivateBin/PrivateBin/blob/master/README.md (checked 20 Nov 2026)
[^10]: https://privatebin.info/ (checked 20 Nov 2026)
[^11]: https://github.com/PrivateBin/PrivateBin/blob/master/LICENSE.md (checked 20 Nov 2026)
[^12]: https://github.com/PrivateBin/PrivateBin/blob/master/doc/Installation.md (checked 20 Nov 2026)
[^13]: https://github.com/PrivateBin/PrivateBin/wiki/API (checked 20 Nov 2026)
