PrivateBin
PrivateBin is a minimalist, open-source self-hosted pastebin for securely sharing text and code snippets.
Platform availability
Available on 6 of 10 platforms
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
89/100 Excellent
- Maintained
- 100last commit 12 days ago
- Popular
- 798,737 GitHub stars
- Easy to install
- 856 install platforms, install notes, Docker image
- Light to run
- 801 GB minimum RAM, runs on ARM
Availability: platform listings confirmed today, links checked 10 days ago
- GitHub stars
- 8,737
- Open issues
- 203
- Last commit
- 2026-11-09
- Latest release
- 2.1.1
- Activity
- rising
Checked 12 days ago - source: GitHub (PrivateBin/PrivateBin)
Resources & Compatibility
Minimum requirements: 1 GB RAM, 1 CPU core(s), 10 GB disk. ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Set folder permissions first Run the provided permissions script, changing pbpath and pbdata (the app folder and data folder) to your PrivateBin folders, because PHP needs the right access or the site can break and fail to save notes. source
- Enable Apache on Red Hat If your install uses Apache on Red Hat, enable and start the httpd service so PrivateBin works now and after reboot; otherwise the web page will not load. source
- Configure URL shortener if used If you want shortened links, set the urlshortener line to the exact API URL from the service example, including any key or credentials; missing or wrong values will make link shortening fail. source
Fetched 54 days ago - each note links to its source
Variants
Alternatives (10)
- GitHub Gist - Gist is a simple way to share snippets and pastes with others.
- Ideone - ideone.com is a...
- One-Time Secret - Keep sensitive information out of your chat logs and email.
- Pastebin.com - A widely used platform for storing and sharing text online, popular among programmers for source code and configuration sharing with ease.
- Rentry.co - Rentry.co is a markdown pastebin and publishing service with preview, custom urls and editing.
- ghostboard-server - Ghostboard is a lightweight, self-hosted tool for real-time synchronized text sharing across multiple devices.
- hastebin - Hastebin is an open-source pastebin web service written in Node.js that lets you share text snippets as short, shareable URLs.
- lesma - Lesma is a lightweight, self-hostable paste server for sharing short text snippets.
- opengist - Opengist is a self-hosted, Git-powered pastebin that stores code snippets in Git repositories and lets developers create, edit, search, and…
- wastebin - Wastebin is a minimal self-hosted pastebin for homelab users who want to share text snippets and files with syntax highlighting.
Checked 51 days ago - source: AlternativeTo
Common questions
Why might PrivateBin break or fail to save notes after installation?
Run the provided permissions script and set pbpath and pbdata to your PrivateBin app and data folders. PHP needs the correct folder access or the site can break and fail to save notes.
What must be enabled when installing PrivateBin with Apache on Red Hat?
Enable and start the httpd service so PrivateBin works immediately and after reboot. If this is not done, the web page may not load.
Does PrivateBin require HTTPS and HSTS?
Yes, an installation has to be used over HTTPS. It should also be secured with HSTS, using traditional certificate authorities or DNSSEC-protected DANE.
Can server access logs reveal who viewed a paste?
PrivateBin encrypts paste and discussion content, but access logs can still disclose who accessed a paste first. This matters if a server administrator is forced to hand over access logs to authorities.
How do I configure URL shortening in PrivateBin?
Set the urlshortener configuration line to the exact API URL for the shortening service, including any key or credentials. Missing or wrong values will make link shortening fail.
Answers sourced from github.com, github.com, github.com, github.com
Community
- PrivateBin - Apps (forum)
- PrivateBin for Images : r/selfhosted - Reddit (reddit)
- PrivateBin | Cloudron Forum (forum)
- What is privatebin.net? : r/techsupport - Reddit (reddit)
- Garuda's PrivateBin never loads - Garuda Linux Forum (forum)
Collected 54 days ago - public community threads