Best self-hosted Pastebin alternatives
PrivateBin is the most popular self-hosted alternative to Pastebin, followed by MicroBin and Opengist. All 7 options below handle pastes & snippets on a server you control. Switching can save about $36/year versus Pastebin (Pro).
Frequently asked questions
What is the best self-hosted alternative to Pastebin?
PrivateBin (★ 8.8K on GitHub) is the most widely adopted. MicroBin and Opengist are strong picks too, depending on whether you value features, simplicity or resource usage.
Is there a free open-source alternative to Pastebin?
Yes. PrivateBin, Pastefy, MicroBin, Opengist, rustypaste, dpaste are open-source and free to self-host.
How much can I save by self-hosting instead of using Pastebin?
A typical Pastebin plan (Pro) costs about $3/month — $36/year. A self-hosted alternative runs on a $5–10/month VPS shared with other apps.