Open-source alternative to Pastebin

PrivateBin is a free, open-source Pastebin alternative for sharing text, code and notes by link, encrypted in your browser so the server cannot read them, with links that expire or are deleted once read. Pastebin.com shows adverts, keeps pastes readable on its own servers and limits free accounts; self-hosted PrivateBin has no adverts or accounts, though it has no public archive or search.

Free app Code: Open source Import from Pastebin: No Easy

Why look for an alternative to Pastebin?

Pastebin.com is the best-known site for sharing text and code by link. Developers use it for logs, snippets and configuration files, and it has a public archive of pastes anyone can browse.

People look for an alternative because the free service shows adverts and limits free accounts to 10 private and 10 unlisted pastes, 500 KB per paste and 20 pastes a day, and pastes sit readable on Pastebin's servers. A self-hosted PrivateBin shares text by link from your own address, with no adverts or accounts, and encrypts every paste in the browser so even your server cannot read it.

How PrivateBin compares

Share passwords and notes as encrypted, self-destructing links.

Shares text, code with syntax highlighting, or Markdown by link, with an expiry from five minutes to never, an optional password and burn after reading. Everything is encrypted in your browser, so your server cannot read the pastes. By design it has no accounts, no list of your pastes, no public archive or search, and no API for browsing pastes.

What you gain
  • Notes are encrypted in the browser, so your server never sees what was shared
  • No ads, no accounts and no cap on how many private notes you keep
  • Links can expire after minutes or never, on your own web address
What is different
  • There are no accounts, so there is no list of the notes you have shared
  • Anyone with the full link can read a note unless you add a password
  • There is no public archive, search or alerts like Pastebin's
Easy Open source

Moving from Pastebin

There is nothing to import. Pastes are short-lived and PrivateBin cannot read Pastebin's, so copy any paste you still need into a new PrivateBin paste and share the new link. Choose a default expiry that suits your team, such as one week, and turn on burn after reading for anything sensitive. Keep the delete link that PrivateBin shows after you create a paste, since there is no account to find it again.

Questions

What is the best open-source alternative to Pastebin?

PrivateBin is the free, open-source alternative to Pastebin for sharing text and code as links in the catalogue today. Shares text, code with syntax highlighting, or Markdown by link, with an expiry from five minutes to never, an optional password and burn after reading. Everything is encrypted in your browser, so your server cannot read the pastes. By design it has no accounts, no list of your pastes, no public archive or search, and no API for browsing pastes.

Can the person who runs the server read my pastes?

No. The text is encrypted in your browser and the key stays in the part of the link after the # sign, which browsers never send to the server. You do trust whoever runs it not to change the app's code. Anyone with the full link can read it, so add a password and send it another way for anything sensitive.

Does PrivateBin have syntax highlighting?

Yes. Choose source code for highlighting and line numbers, Markdown for a formatted preview, or plain text.

Can I see a list of my pastes?

No. PrivateBin has no accounts, so it keeps no list. Save each link, and the delete link if you might want to remove a paste early.

Is PrivateBin really free compared with Pastebin?

Yes, PrivateBin is free. To run them you need Cloudgate and a server. Use hosted Cloudgate, which can also provide the server, or install Cloudgate on a server of your own for free. Cloudgate's plans and prices are at cloudgate.octabyte.io/pricing. One server can run several apps.

Do I need a developer to replace Pastebin?

No. Cloudgate installs PrivateBin on your server and gives it a secure web address, and you use it in your browser instead of Pastebin.