Skip to content
Compare

ProtectedShare vs PrivateBin

PrivateBin is a zero-knowledge pastebin: your browser encrypts each paste with AES-256-GCM before the server stores it. ProtectedShare uses the same cipher, but it's built for handing a secret to one person, with read counts, file drops and requests that don't depend on which server you pick.

Feature comparison

PrivateBin and ProtectedShare, feature by feature. Each answer is Yes, No, Partial or Not stated.
PrivateBinProtectedShare
Encrypts in your browser before upload
YesAES-256-GCM; the key is in the link after #
YesAES-256-GCM via Web Crypto, before upload
Burn after reading
YesOptional
YesNotes can burn after the first read
Expires after a set time
Yes5 minutes to 1 year, or never, by default
Yes1 hour to 30 days
Allow a set number of reads
NoBurn after reading, or open until it expires
YesEnvShare: 1 to 100 reads
Password
YesOptional
YesOr keep the key in the link
Encrypted file attachments
PartialOff by default; depends on the instance
YesUp to 25 MB, with a download limit
Discussion on a paste
YesOptional, encrypted comments
PartialSeparate encrypted chat rooms
Markdown and syntax highlighting
Yes
PartialNotes render Markdown; no syntax highlighting
Ask someone to send you a secret
Not statedNot covered in the sources we checked
YesEncrypted to your public key
Open source
Yeszlib/libpng license
YesMIT license
Self-hostable
YesPHP; many public instances
YesCloudflare Worker + D1, Docker web image
Works without an account
Yes
Yes

The PrivateBin column reflects their public docs and site at time of writing (October 2026). Products change, so check theirs before deciding. Sources: privatebin.info, PrivateBin on GitHub, default configuration, license, instance directory.

A pastebin, or a handoff

PrivateBin is a pastebin. With the default settings a paste can stay up for a year or never expire, carry a discussion thread, and be shown as Markdown or highlighted source code. That suits code snippets and logs you want to keep around and link to.

ProtectedShare is built for the opposite: getting a secret to one person, then deleting it. Every share expires within 30 days. Notes can burn after the first read, EnvShare secrets allow 1 to 100 reads, and a job removes expired rows every 30 minutes.

One project, many servers

PrivateBin is software that anyone can run. Its website has a “Try it out” link and keeps a directory of public instances, with checks such as HTTPS and an Observatory rating. Each operator picks the settings: file uploads are off by default, the default size limit is 10 MB, and the expiry options can change.

Its README is candid that you have to trust the server administrator not to inject malicious code. That holds for every tool that encrypts in the browser, ProtectedShare included, because the server delivers the code. The mitigations are the same as well: source code you can read, and running your own copy. The self-host guide shows how.

Similar cryptography

Both encrypt with AES-256-GCM in the browser and keep the key in the URL fragment, so the server stores only ciphertext. As PrivateBin's README points out, anyone holding a full link to a paste without a password can read it. The same goes for a ProtectedShare link that carries its key.

ProtectedShare also puts a gate in front of the ciphertext. HKDF derives an auth token from your key or password, the server stores only its hash, and it hands over the ciphertext only to a browser that presents the token. Link previews in chat apps fetch without the fragment, so they can't open, or burn, a note. The security page has the details.

Try it on ProtectedShare

Free, with no account. Each tool encrypts in your browser before anything is uploaded. The security model lists exactly what the server stores.

Questions

Is PrivateBin end-to-end encrypted?

PrivateBin's README says pastes are encrypted and decrypted in the browser with 256-bit AES in Galois Counter Mode, and the key sits in the URL fragment, so the server has zero knowledge of what's stored. ProtectedShare uses the same cipher, AES-256-GCM, through Web Crypto.

Does PrivateBin support file uploads?

The software does, but file upload is disabled by default, so it depends on the instance you use. The default size limit is 10 MB per paste. ProtectedShare's file drop is always on at protectedshare.me: up to 25 MB per drop, with 1 to 100 downloads.

Which PrivateBin instance should I use?

PrivateBin is software anyone can run. Its website has a 'Try it out' link and lists public instances in a directory, and each operator chooses settings like file uploads and expiry options. Its README notes that you have to trust the server administrator, which is true of any in-browser encryption app, ProtectedShare included.

How long do PrivateBin pastes last?

The default options run from 5 minutes to 1 year, plus never and burn after reading, and each instance can change them. ProtectedShare shares last at most 30 days, and notes can burn after the first read.

Can I limit how many times a paste is read?

PrivateBin offers burn after reading; otherwise a paste stays readable until it expires. ProtectedShare's EnvShare lets you choose 1 to 100 reads, and file drops 1 to 100 downloads.