Self-hosted alternatives to Pastebin

Share text/code snippets from your own server. Below are 12 open source options you host on your own server — with no monthly per-user fee and full control of your data.

Karakeep

★ 26,207

Bookmark-everything app with a touch of AI for the data hoarders out there.

Bookmarks and Link SharingPastebins AGPL-3.0

PrivateBin

★ 8,400

Minimalist pastebin/discussion board where the server has zero knowledge of hosted data.

Pastebins Zlib

SilverBullet

★ 5,513

Note-taking application optimized for people with a hacker mindset.

Note-taking & EditorsPastebins MIT

Opengist

★ 3,220

Pastebin powered by Git.

Pastebins AGPL-3.0

Password Pusher

★ 3,058

Dead-simple application to securely communicate passwords (or text) over the web. Passwords automatically expire after a certain number of views and/or time has passed.

Pastebins Apache-2.0

Yopass

★ 2,868

Secure sharing of secrets, passwords and files.

PastebinsFile Transfer - Single-click & Drag-n-drop Upload Apache-2.0

ByteStash

★ 2,452

Pastebin and file storage service with a simple web interface. Supports syntax highlighting, optional user authentication and public sharing.

Pastebins GPL-3.0

Enclosed

★ 2,022

Minimalistic web application designed for sending private and secure notes.

File Transfer - Single-click & Drag-n-drop UploadPastebins Apache-2.0

Hemmelig

★ 1,217

Share encrypted secrets cross organizations, or as private persons.

Pastebins MIT

rustypaste

★ 1,176

Minimal file upload/pastebin service.

Pastebins MIT

Wastebin

★ 802

Lightweight, minimal and fast pastebin with an SQLite backend.

Pastebins MIT

dpaste

★ 639

Simple pastebin with multiple text and code option, with short url result easy to remember.

Pastebins MIT

Frequently asked questions

Is there a free self-hosted alternative to Pastebin?

Yes. We've gathered 12 self-hosted, open source alternatives to Pastebin — including Karakeep, PrivateBin, SilverBullet. You run all of them on your own server.

What is the best open source alternative to Pastebin?

Karakeep is one of the most popular (26,207 GitHub stars). The "best" depends on your case — compare the options below.

Do I need a server to replace Pastebin?

Yes. You can use a home server (homelab) or a cheap VPS (from ~€4/mo). See the hosting suggestions on this page.