Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
upstream: github.com/szabodanika/microbin (opens in new tab) · github.com/PrivateBin/PrivateBin (opens in new tab)
Pick MicroBin
If you want file uploads, short links and an admin page in one small Rust binary.
Pick PrivateBin
If every paste must be encrypted in the browser so the server cannot read it, with no setting for users to get wrong.
MicroBin and PrivateBin both turn a paste into a link, but they start from different goals. MicroBin is a general sharing box for text, files and redirects. PrivateBin is built so the server has zero knowledge of what it stores.
MicroBin is a single Rust binary. It takes text, file uploads and URLs to redirect, serves raw text, offers burn-after-reading and expiry, and has a built-in admin page. QR codes are an option. Data goes into SQLite or JSON. Our snippet pins 2.1.4.
PrivateBin is a PHP application where data is encrypted and decrypted in the browser with 256-bit AES. It supports password-protected and burn-after-reading pastes, discussions, Markdown and syntax highlighting. Our snippet pins the official image at 2.1.1.
This is the real difference. In PrivateBin the key sits in the URL fragment, so the server stores only ciphertext. Anyone with the full link can read an unprotected paste. In MicroBin, encryption is a per-upload choice, and ordinary uploads are readable by the server.
MicroBin also sends telemetry about its configuration by default, and our snippet does not turn it off. Set MICROBIN_DISABLE_TELEMETRY=true if you do not want that.
MicroBin lets anyone who reaches the page post, unless you enable read-only mode with an uploader password. Our snippet generates an admin password rather than leaving the built-in one.
PrivateBin ships with file upload disabled, a one-week default expiry and a rate limit of one post every 10 seconds per IP address. Turn file upload on in its configuration file if you need it.
In our install check (GCP e2-standard-2, Ubuntu 26.04), idle at first boot, MicroBin used ~5 MB of RAM and ~204 MB of disk (October 2026). PrivateBin used ~22 MB of RAM and ~219 MB of disk (November 2026). Both are light enough that features should decide this.
Both are 1 out of 5 in our catalog. MicroBin is a short Compose file. PrivateBin is one docker run with a read-only container, after giving the data directory to the user the image runs as.
MicroBin is BSD-3-Clause. PrivateBin uses the Zlib licence.
Choose MicroBin if you want to move files between machines, hand out short links and manage uploads from an admin page.
Choose PrivateBin if you share secrets or work for people who should not have to trust you with the content, and you will serve it over HTTPS.
Even then, users must trust that the operator has not altered the code the server delivers.
Install files are on the MicroBin and PrivateBin pages. Back up the data volume if pastes are meant to last, and remember that a lost PrivateBin link cannot be recovered from the server.
MicroBin lists a lower minimum: 64 MB vs 128 MB for PrivateBin.
No. MicroBin is BSD-3-Clause, PrivateBin is Zlib.
MicroBin for files and short links in one tool. PrivateBin when the server must never be able to read what is pasted.
No. Encryption is a choice made per upload, either server-side or client-side. PrivateBin encrypts every paste in the browser.
Yes, by default. Set MICROBIN_DISABLE_TELEMETRY=true to turn it off.
Yes. Upstream says an installation has to be used over HTTPS, and the browser encryption needs a secure context.
Paid link — we earn a commission if you shop through it.
A full billing platform under a source-available licence, or a smaller AGPL invoicing app on SQLite.
A lean Trello-style board under a fair-code licence vs. the feature-packed MIT kanban.
Local-first envelope budgeting, or a broader dashboard for net worth and spending.