6 self-hosted options
Open-source alternatives to Pastebin
The best open-source alternative to Pastebin is PrivateBin (Zlib, 8,708 GitHub stars). Opengist stands out for a published Docker image, and Yopass stands out for the most commits in the last 12 months (1,217).
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 Oct 25, 2026
PastebinsPHPStands out for the most GitHub stars.
- Rank 2:
Opengist
thomiceli/opengist
Pastebin powered by Git.
Active · last commit Oct 21, 2026
PastebinsGoDockerStands out for a published Docker image.
- Rank 3:
Yopass
jhaals/yopass
Secure sharing of secrets, passwords and files.
Active · last commit Oct 26, 2026
PastebinsGoDockerStands out for the most commits in the last 12 months (1,217).
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,708 | 808 | Oct 25, 2026 | No |
| Opengist | a published Docker image | AGPL-3.0 | 3,402 | 196 | Oct 21, 2026 | Yes |
| Yopass | the most commits in the last 12 months (1,217) | Apache-2.0 | 3,203 | 1,217 | Oct 26, 2026 | Yes |
| ByteStash | its TypeScript codebase | GPL-3.0 | 2,568 | 77 | Oct 17, 2026 | Yes |
| rustypaste | a permissive MIT license | MIT | 1,213 | 124 | Oct 25, 2026 | No |
| Wastebin | – | MIT | 877 | 188 | 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,708 GitHub stars, uses the Zlib license and had 808 commits in the last year.
- 2
Opengist
Pastebin powered by Git.
PastebinsDockerStands out for a published Docker image. Opengist has 3,402 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 196 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,217). Yopass has 3,203 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 1,217 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,568 GitHub stars, uses the GPL-3.0 license, ships a Docker image and had 77 commits in the last year.
- 5
rustypaste
Minimal file upload/pastebin service.
PastebinsStands out for a permissive MIT license. rustypaste has 1,213 GitHub stars, uses the MIT license and had 124 commits in the last year.
- 6
Wastebin
Lightweight, minimal and fast pastebin with an SQLite backend.
PastebinsDockerWastebin has 877 GitHub stars, uses the MIT license, ships a Docker image and had 188 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,217 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.