Khamli vs PrivateBin

Khamli vs PrivateBin

PrivateBin is an open-source pastebin that encrypts your text in the browser before sending it to the server. Khamli is a no-account alternative that adds a 4-character code and file sharing to the mix.

In short

PrivateBin: Open-source, zero-knowledge paste service. Configurable — including burn-after-reading, where the paste is deleted after it is first accessed.

Khamli: text or files behind a 4-character code, no account, expires after 30 minutes to 7 days. Encrypted in transit, not end-to-end.

Khamli vs PrivateBin at a glance

KhamliPrivateBin
Privacy modelEncrypted in transit (HTTPS). Stored on Khamli's servers until expiry; not end-to-end encrypted. Anyone with the code can open it.Strong. Content is encrypted in the browser and the server only stores ciphertext, so it is a zero-knowledge design. Self-hosting gives you full control over logs and retention.
SignupNo account for sender or recipient.No account required.
ExpiryTimer: 30 minutes, 2 hours, 12 hours, 1 day, 3 days or 7 days. Reopenable until then; deleted within about 24 hours after.Configurable — including burn-after-reading, where the paste is deleted after it is first accessed.
Text & filesText up to 50,000 characters, or up to 10 files at 500 MB each.Text and code only. Files are not supported natively.

Checked on December 1, 2026 against PrivateBin's own pages. Features change; tell us via the contact page if something is out of date.

What PrivateBin is

PrivateBin is a free, open-source pastebin focused on privacy. It encrypts the content of your paste in the browser, so the server only ever stores ciphertext — even the server operator cannot read your paste. It supports burn-after-reading and password protection.

Who uses it: Privacy-conscious users, self-hosters, and communities that want to run their own paste service. It is commonly deployed on private servers by individuals and organizations that want full control over their data.

How it works

You paste text, optionally set a password and a burn-after-reading flag, and create the paste. The text is encrypted client-side using the URL fragment as the key, and only ciphertext is sent to the server. The recipient needs the full URL (including the fragment) to decrypt and read the paste.

PrivateBin strengths

  • Client-side encryption — the server stores only encrypted data (zero-knowledge).
  • Open source and self-hostable, so you can run your own instance.
  • No account required.
  • Supports burn-after-reading, password protection, and configurable expiration.
  • Comments and discussions are supported on some instances.

PrivateBin limitations

  • Text-focused — no built-in file sharing.
  • Requires the recipient to have the full URL fragment, which can be fragile if the link is truncated.
  • Self-hosting requires server administration skills.
  • Public instances may vary in their retention and trustworthiness.

How Khamli compares

PrivateBin is the more privacy-maximal option for text: its zero-knowledge client-side encryption means even the operator cannot read pastes. Khamli is simpler and broader — it trades zero-knowledge encryption for a 4-character code that is easy to read aloud, built-in file sharing up to 500 MB, and a managed service you don't have to host yourself. Khamli encrypts in transit but stores plaintext server-side until expiry.

When Khamli is the better choice

Choose Khamli when you want zero setup, need to share files or images, or prefer a short code over a long URL — and you don't require zero-knowledge encryption.

When PrivateBin may be the better choice

PrivateBin may be better when you need strong zero-knowledge encryption, want to self-host, or require burn-after-reading for sensitive text.

Frequently asked questions

Is PrivateBin really zero-knowledge?+

Yes — PrivateBin encrypts content in the browser and only sends ciphertext to the server. As long as you trust the instance you are using, the operator cannot read your paste.

Can I share files on PrivateBin?+

No, PrivateBin is text-only. For files, consider a file-sharing tool like Khamli.

Is Khamli a PrivateBin alternative?+

For simple, temporary text sharing without self-hosting, yes. But if you need client-side zero-knowledge encryption, PrivateBin is the stronger privacy choice.

Do I need to host PrivateBin myself?+

You can use a public instance or self-host. Self-hosting gives full control but requires server administration.

Try Khamli: no account, expires on a timer.

Share with Khamli