Free, open-source alternatives to Pastebin
Share text and code snippets by link. 7 apps you can run yourself instead of Pastebin, sorted by how well they replace it. Each one is open source, so your data stays with you.
PrivateBinBest match
Minimalist pastebin/discussion board where the server has zero knowledge of hosted data.
Opengist
Pastebin powered by Git.
Wastebin
Lightweight, minimal and fast pastebin with an SQLite backend.
rustypaste
Minimal file upload/pastebin service.
ByteStash
Pastebin and file storage service with a simple web interface. Supports syntax highlighting, optional user authentication and public sharing.
Pastefy
Beautiful, simple and easy to deploy Pastebin with optional client encryption, multitab pastes, an API, a highlighted editor and more.
dpaste
Simple pastebin with multiple text and code option, with short url result easy to remember.
Side by side
| App | Stars | License | Activity | Runs on |
|---|---|---|---|---|
| PrivateBin | 8,662 | Zlib | PHP | |
| Opengist | 3,384 | AGPL-3.0 | Docker, Go, Node.js | |
| Wastebin | 872 | MIT | Rust, Docker | |
| rustypaste | 1,213 | MIT | Rust | |
| ByteStash | 2,550 | GPL-3.0 | Docker | |
| Pastefy | 460 | MIT | Docker, Kubernetes, Java | |
| dpaste | 643 | MIT | Docker, Python |
Why replace Pastebin?
Pastebin works, but your data lives in someone else's account, the price can change at any time, and features can disappear. An open-source app you run yourself is yours: you choose where it runs, who can see the data, and when to update.
Questions
What is the best free alternative to Pastebin?
PrivateBin is the closest open-source replacement for Pastebin in our list. Opengist and Wastebin are worth a look too, depending on what you need.
Can I self-host an alternative to Pastebin?
Yes. All 7 apps on this page are open source and can run on your own server, usually with Docker, or on a managed host that installs them for you.