pbnj

pbnj

A free, open-source, self-hosted pastebin you can deploy on Cloudflare's free tier in about a minute — share code snippets and text with a simple memorable link, no account required.

🔗 Visit pbnj
📁 Open Source & Self-hosting🗣️ English📅 August 24, 2026

Description

Sharing a quick code snippet or error log usually means picking between a public pastebin site that stores your text on someone else's servers, or setting up a full app just to paste some text. pbnj is built for the middle ground: a tiny, self-hosted pastebin — like a sticky note dispenser you run yourself — that you can deploy on Cloudflare's free tier in under a minute and use from the browser or a one-line CLI command.

pbnj is a free, open-source pastebin deployed on Cloudflare Workers, with a web interface for browser-based pastes and a CLI (@pbnjs/cli via npm) for scripting. It generates memorable, human-readable URLs instead of random character strings, supports bearer-token authentication for the API and CLI, and session-based authentication for the web UI, and runs comfortably within Cloudflare's free tier (500 MB storage, 5 million reads/day, 100,000 writes/day). Setup is a single configuration file, with no database server or account system to manage.

💬 Our review

The short version: if you want a private pastebin without running your own server infrastructure, pbnj's Cloudflare-Workers deployment and free-tier ceiling make it one of the fastest self-hosted options to actually get running — and it costs nothing.

Compared to PrivateBin, the best-known self-hosted, zero-knowledge pastebin, pbnj trades PrivateBin's client-side encryption for simplicity: no encryption model to configure, a CLI included out of the box, and a Cloudflare-native deployment rather than a server you provision yourself. Against a public service like Pastebin.com, the difference is ownership and privacy — your pastes live on infrastructure you control, not a third party's, at the cost of needing your own Cloudflare account.

The honest limits: it's a small, young project without PrivateBin's zero-knowledge encryption guarantees, so it's not the right choice if you need cryptographically-verified privacy for genuinely sensitive secrets — a password manager or PrivateBin's encrypted model fits that better. It's also tied to Cloudflare's platform rather than being deployment-agnostic. For quick, low-friction snippet sharing within a team or personal workflow, it's a solid, free pick; for compliance-grade secret sharing, look elsewhere.

💰 Pricing

FreeFree and open source, self-hosted on Cloudflare Workers' free tier.
Self-hosted / Open source 0

📊 Global score

53Average
🌐Availability15/100Faible

1 language · 0 platform

📄Profile90/100Excellent

Profile completeness

🤖 AI-enriched data

💰 Pricing model
🆓 Gratuit

Open source, gratuit, auto-hébergé sur le tier gratuit de Cloudflare Workers (500 Mo de stockage, 5M lectures/jour, 100k écritures/jour).

👥 Target audienceDéveloppeurs et utilisateurs techniques qui veulent partager du code ou du texte rapidement, sans compte ni service tiers
🗣️ Languagesen
🌍 Target countriesWorldwide
👍

Pros

Déploiement en ~60 secondes sur le tier gratuit de Cloudflare Workers

CLI incluse en plus de l'interface web, pratique pour scripter

URLs mémorables générées automatiquement plutôt que des chaînes aléatoires

Aucune base de données à gérer — un seul fichier de configuration

👎

Cons

Pas de chiffrement zero-knowledge côté client, contrairement à PrivateBin

Lié à la plateforme Cloudflare — pas de déploiement agnostique

Projet jeune et peu connu, communauté encore restreinte

❓ Frequently asked questions

What is pbnj?
Is pbnj free?
Do I need to create an account to use it?
Is pbnj encrypted?
Is it worth the money compared to alternatives?
Which tool should you pick for your case?