Best Self-Hosted Pastebin Tools
Self-hosted pastebins replace Pastebin.com and GitHub Gist with a place to share snippets that you own. The six picks differ mainly in who can read a paste and how you submit one. PrivateBin encrypts and decrypts in the browser, so the server holds only ciphertext. MicroBin and wastebin are single Rust binaries: MicroBin also takes file uploads and has an admin page, while wastebin focuses on code with syntax highlighting for over 170 languages and Markdown rendering, and can encrypt a paste with a password. rustypaste is a Rust file and paste server for the command line: you POST with curl, it has no database or web editor, and it supports expiring and one-shot links. Opengist is the Gist replacement, where every snippet is a Git repository you can clone and push to, with revisions and search. Pastefy is a Gist-like site with folders, forks and rendered previews for Markdown, Mermaid, CSV and more, and it needs a MariaDB or MySQL database. Choose PrivateBin for sensitive text, Opengist for snippets you want to keep and version, Pastefy for a fuller Gist-style site, rustypaste for scripts, and MicroBin or wastebin for quick sharing on a small server; the catalog gives the five smaller picks a RAM floor of 256 MB or less and Pastefy 1024 MB. None should be left open on the internet unmanaged: wastebin's README warns that it has no authentication, rustypaste has none until you set an auth token, and Pastefy accepts anonymous pastes until you configure a login provider, so rate limit them or keep them private, and put TLS in front of all of them.
Pastebin apps
MicroBin
Opengist
Pastefy
PrivateBin
rustypaste
wastebin
Paid link — we earn a commission if you shop through it.
Common questions
How much RAM do self-hosted apps in Pastebin need?
Across the 6 apps in Pastebin, minimums run from 64 MB (MicroBin) to 1024 MB (Pastefy).
Which app in Pastebin uses the least RAM?
Of the 6 apps in Pastebin we measured, rustypaste used the least: 3 MB at idle (first boot, measured Nov 2026).
Do self-hosted apps in Pastebin support Docker?
All 6 apps in Pastebin list Docker support.