# Open-source alternatives to Pastebin

> Pastebin: A site for sharing snippets of text and code via short links. The best self-hosted, open-source alternatives are PrivateBin, Opengist and ByteStash. All of them can run on your own server, so your data stays under your control. All 6 apps here are open source.

## Key facts

| Fact | Value |
|---|---|
| Commercial product | Pastebin |
| Category | Pastebins |
| Alternatives listed | 6 |
| Top pick | PrivateBin (8,651 stars, Zlib) |
| Canonical URL | https://appsgit.com/alternatives/pastebin |

## Alternatives, in recommended order

- [PrivateBin](https://appsgit.com/apps/privatebin): Minimalist pastebin/discussion board where the server has zero knowledge of hosted data. (8,651 stars, Zlib, PHP)
- [Opengist](https://appsgit.com/apps/opengist): Pastebin powered by Git. (3,370 stars, AGPL-3.0, Go, Docker)
- [ByteStash](https://appsgit.com/apps/bytestash): Pastebin and file storage service with a simple web interface. Supports syntax highlighting, optional user authentication and public sharing. (2,546 stars, GPL-3.0, TypeScript, Docker)
- [Wastebin](https://appsgit.com/apps/wastebin): Lightweight, minimal and fast pastebin with an SQLite backend. (866 stars, MIT, Rust, Docker)
- [rustypaste](https://appsgit.com/apps/rustypaste): Minimal file upload/pastebin service. (1,210 stars, MIT, Rust)
- [Yopass](https://appsgit.com/apps/yopass): Secure sharing of secrets, passwords and files. (3,164 stars, Apache-2.0, Go, Docker)

More in this category: [Pastebins](https://appsgit.com/categories/pastebins)

---

Canonical page: https://appsgit.com/alternatives/pastebin
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
