6 self-hosted options
Open-source alternatives to Pastebin
The best open-source alternative to Pastebin is PrivateBin (Zlib, 8,746 GitHub stars). Opengist stands out for its Go codebase, and Yopass stands out for the most commits in the last 12 months (1,308).
About Pastebin: A site for sharing snippets of text and code via short links.
Updated · data from GitHub, refreshed daily
Top picks
- Rank 1:
PrivateBin
PrivateBin/PrivateBin
Minimalist pastebin/discussion board where the server has zero knowledge of hosted data.
Active · last commit Nov 15, 2026
PastebinsPHPStands out for the most GitHub stars.
- Rank 2:
Opengist
thomiceli/opengist
Pastebin powered by Git.
Active · last commit Nov 16, 2026
PastebinsGoDockerStands out for its Go codebase.
- Rank 3:
Yopass
jhaals/yopass
Secure sharing of secrets, passwords and files.
Active · last commit Nov 16, 2026
PastebinsRustDockerStands out for the most commits in the last 12 months (1,308).
At a glance
Pastebin alternatives compared
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.
| App | Stands out for | License | GitHub stars | Commits (12 mo) | Last commit | Docker image |
|---|---|---|---|---|---|---|
| PrivateBin | the most GitHub stars | Zlib | 8,746 | 817 | Nov 15, 2026 | No |
| Opengist | its Go codebase | AGPL-3.0 | 3,413 | 195 | Nov 16, 2026 | Yes |
| Yopass | the most commits in the last 12 months (1,308) | Apache-2.0 | 3,241 | 1,308 | Nov 16, 2026 | Yes |
| ByteStash | its TypeScript codebase | GPL-3.0 | 2,580 | 86 | Nov 10, 2026 | Yes |
| rustypaste | a permissive MIT license | MIT | 1,216 | 134 | Nov 13, 2026 | No |
| Wastebin | – | MIT | 890 | 182 | Oct 20, 2026 | Yes |
Full list
All 6 Pastebin alternatives
Open any app for live stats, license details and a deploy option.
- 1
PrivateBin
Minimalist pastebin/discussion board where the server has zero knowledge of hosted data.
PastebinsStands out for the most GitHub stars. PrivateBin has 8,746 GitHub stars, uses the Zlib license and had 817 commits in the last year.
- 2
Opengist
Pastebin powered by Git.
PastebinsDockerStands out for its Go codebase. Opengist has 3,413 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 195 commits in the last year.
- 3
Yopass
Secure sharing of secrets, passwords and files.
PastebinsDockerStands out for the most commits in the last 12 months (1,308). Yopass has 3,241 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 1,308 commits in the last year.
- 4
ByteStash
Pastebin and file storage service with a simple web interface. Supports syntax highlighting, optional user authentication and public sharing.
PastebinsDockerStands out for its TypeScript codebase. ByteStash has 2,580 GitHub stars, uses the GPL-3.0 license, ships a Docker image and had 86 commits in the last year.
- 5
rustypaste
Minimal file upload/pastebin service.
PastebinsStands out for a permissive MIT license. rustypaste has 1,216 GitHub stars, uses the MIT license and had 134 commits in the last year.
- 6
Wastebin
Lightweight, minimal and fast pastebin with an SQLite backend.
PastebinsDockerWastebin has 890 GitHub stars, uses the MIT license, ships a Docker image and had 182 commits in the last year.
Is there a free alternative to Pastebin?
Yes. All 6 apps on this page are open source and free to self-host, so you can replace Pastebin without per-user fees. You pay only for the server.
Can I self-host an alternative to Pastebin with Docker?
Yes. 4 of the 6 apps here publish a Docker image, including Opengist, Yopass and ByteStash, so you can run them on a home server or VPS with Docker Compose.
Which Pastebin alternative is the most actively developed?
Yopass (Apache-2.0), with 1,308 commits in the last 12 months. Activity is a good sign that bugs and security issues get fixed.
How is this list ranked?
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.