PrivateBin: Zero-Knowledge Pastebin

Paste text, code or a file (uploads are off by default) into this self-hosted pastebin and the browser encrypts it before it reaches your server, so the host stores ciphertext it cannot read. A link can carry a password, expire after a set time, or destroy the paste once someone opens it.

Pros and cons

Pros

  • Encryption happens in the browser1
  • Pastes expire or burn after reading2
  • Markdown, discussions and opt-in file uploads3
  • One container, no database4

Cons

  • A lost link loses the paste5
  • HTTPS is required to be safe6
  • No user accounts7

Compare with similar apps

Compare PrivateBin with other productivity apps. Add or remove apps to see how they differ.

Requirement
PrivateBin
PriceFreeFree
LicenceZlibApache-2.0
Web UIYesYes
Docker Containers1 (app only)1 (app only)
Databasefile onlySQLite / MySQL / PostgreSQL
Architecturex86 + ARMx86 + ARM
Tech stackPHPGo
DockerYesYes
Linux package–Yes

Common questions

Similar apps to PrivateBin

Spacebin

Run a self-hosted pastebin for your household and store code, notes or a wall of text, with syntax highlighting done on the server, so ordinary pastes open without JavaScript. Encrypted pastes are the exception: the browser locks them with a password before upload and the server keeps only ciphertext.

Free

CryptPad

CryptPad is an encrypted office suite you host yourself. Write a document, sheet or slide deck in the browser and it encrypts the copy on your machine before it reaches the server. Rich text, forms, kanban boards, diagrams and whiteboards use the same encryption. Shared drives, access lists, document history and guest links cover a household or a small group.

Free + Paid

Joplin

Sync notes between the official Joplin desktop and mobile apps using a server kept on your own network.

Free + Paid

Standard Notes

Keep notes, tags and files encrypted on your devices and sync them through a server you run, with clients for phones, desktop and the browser. The V2 server is four containers, and the official apps accept your own address under Advanced options.

Free + Paid

Trilium Notes

Keep a large personal knowledge base as a tree of notes and sync your desktop apps with a server at home using this hierarchical FOSS note-taking app.

Free

AFFiNE

Write docs, track work in databases and sketch on a whiteboard, with workspaces synced through your own server.

Free + Paid

Anchor

Takes notes on a phone or in the browser and keeps working when the connection drops, syncing back to a server you host. Notes carry rich text, tags, attachments, reminders and version history, and notes move in and out as plain Markdown or come over from Google Keep.

Free

ArchiveBox

Keep a copy of the links you want to hold on to. ArchiveBox runs as a web archiver in a folder you choose, saving each page as HTML, PDF, PNG, WARC and text. New URLs can arrive from bookmarks, browser history, RSS feeds or a schedule.

Free

Tags

Updated