SelfHostHub

Open-source alternatives to Pastebin

The most popular self-hosted, open-source alternatives to Pastebin (sharing text and code snippets) are PrivateBin (8,682 GitHub stars), Opengist (3,386 GitHub stars) and ByteStash (2,560 GitHub stars). SelfHostHub lists 12 options below, taken from its Pastebins category; 10 support Docker and all of them can run on your own server.

Comparison of self-hosted Pastebin alternatives

ProjectGitHub starsLicenceLanguage / platformWhat it does
PrivateBin8,682ZlibPHPMinimalist pastebin/discussion board where the server has zero knowledge of hosted data.
Opengist3,386AGPL-3.0Docker, Go, NodejsPastebin powered by Git.
ByteStash2,560GPL-3.0DockerPastebin and file storage service with a simple web interface. Supports syntax highlighting, optional user authentication and public sharing.
rustypaste1,213MITRustMinimal file upload/pastebin service.
Wastebin875MITRust, DockerLightweight, minimal and fast pastebin with an SQLite backend.
dpaste643MITDocker, PythonSimple pastebin with multiple text and code option, with short url result easy to remember.
paaster565AGPL-3.0DockerEnd-to-end encrypted pastebin built with the objective of simplicity.
Local Content Share495MITDocker, GoStore and share text snippets and files within your local network.
Pastefy461MITDocker, K8S, JavaBeautiful, simple and easy to deploy Pastebin with optional client encryption, multitab pastes, an API, a highlighted editor and more.
015416AGPL-3.0DockerA temporary file sharing platform. Focused on providing one-time, temporary file and text upload, processing, and sharing services.
snowshare88CC0-1.0Nodejs, DockerFile and link sharing platform with URL shortening, code snippet sharing, and file uploads, featuring customizable expiration, privacy settings, and QR codes.
Chiyogami81BSD-3-ClauseDockerPastebin with API, client-side encryption, user accounts, syntax highlighting, markdown rendering, and more.

Star counts and licences come from the awesome-selfhosted dataset and may lag GitHub slightly.

Browse the full categories

All self-hosted Pastebins

Frequently asked questions

What is the best open-source alternative to Pastebin?

By GitHub stars, PrivateBin is the most popular self-hosted alternative to Pastebin listed here, followed by Opengist and ByteStash. The best fit depends on the features and stack you need.

Is there a free self-hosted alternative to Pastebin?

Yes. All 12 projects on this page are open source and can be self-hosted at no licence cost; you pay only for your own server.

Which licences do these Pastebin alternatives use?

The most common licences among them are MIT (5), AGPL-3.0 (3) and Zlib (1).

Can I run a Pastebin alternative with Docker?

10 of the 12 alternatives list Docker as a supported platform.