Self-Hosted Alternatives to Pastebin

Pastebin is the best-known public site for sharing snippets of text and code, now heavy with ads and scraping. Hosting your own paste service lets you set expiry, encrypt content, and keep logs, tokens and config fragments off a public third-party site.

11 open-source alternatives to Pastebin you can host yourself, ranked by GitHub stars and updated daily.

# App Category Stars Language Updated
1 PrivateBin/PrivateBin Pastebins 8,741 PHP 2d
2 szabodanika/microbin Pastebins
URL Shorteners
4,640 Rust 2mo
3 thomiceli/opengist Pastebins 3,413 Go 5d
4 Tygs/0bin Pastebins 1,402 JavaScript 1y
5 MaxLeiter/Drift Pastebins 1,363 TypeScript 3y
6 orhun/rustypaste Pastebins 1,215 Rust today
7 matze/wastebin Pastebins 887 Rust 22d
8 DarrenOfficial/dpaste Pastebins 643 Python today
9 WardPearce/paaster Pastebins 569 TypeScript 1d
10 interaapps/pastefy Pastebins 464 Vue 5mo
11 bepasty/bepasty-server Pastebins 222 Python today