PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data.
Data is encrypted and decrypted in the browser using 256bit AES in Galois Counter mode.
This is a fork of ZeroBin, originally developed by Sébastien Sauvage. PrivateBin was refactored to allow easier and cleaner extensions and has many additional features. It is, however, still fully compatible to the original ZeroBin 0.19 data storage scheme. Therefore, such installations can be upgraded to PrivateBin without losing any data.
What PrivateBin provides
As a server administrator you don't have to worry if your users post content that is considered illegal in your country. You have plausible deniability of any of the pastes content. If requested or enforced, you can delete any paste from your system.
Pastebin-like system to store text documents, code samples, etc.
Encryption of data sent to server.
Possibility to set a password which is required to read the paste. It further protects a paste and prevents people stumbling upon your paste's link from being able to read it without the password.
What it doesn't provide
As a user you have to trust the server administrator not to inject any malicious code. For security, a PrivateBin installation has to be used over HTTPS! Otherwise you would also have to trust your internet provider, and any jurisdiction the traffic passes through. Additionally the instance should be secured by HSTS. It can use tradit
Homepage
Download
Recent Releases
2.0.029 Jul 2025 03:15
major feature:
ADDED: Error logging in database and filesystem backend.
ADDED: Statistics on v1 pastes in administration script and option to delete them.
CHANGED: Removed page template.
CHANGED: Removed support for ZeroBin v1 pastes - since release 1.3 the v2 format is used.
CHANGED: Removed use of base64 rawinflate libraries.
CHANGED: Removed support for `privatebin_data`, `privatebin_db` `zerobin_db` model class configurations, must be replaced with `Filesystem` or `Database` in `cfg/conf.php`, if still present.
CHANGED: Removed unused columns in database schema of tables `paste` `comment`.
CHANGED: Jdenticons are now used as the default icons.
CHANGED: Upgrading libraries to: base-x 5.0.1, bootstrap 5.3.7, jdenticon 2.0.0 kjua 0.10.0.
CHANGED: Minimum required PHP version is 7.4, due to a change in the jdenticon library.
CHANGED: Set bootstrap5 template as default for PrivateBin.
CHANGED: Switched from binary bytes to SI-units.
CHANGED: Replaced the term "paste" with the more generic "document".
: Name mismatches in attached files.
: Unable to paste attachments from clipboard.
: Configuration combinations test errors.
1.7.814 Jul 2025 03:15
minor bugfix:
: Duplicate attachment for every comment.
: Attachments with empty file names.
: Page template scripts loading order.
1.7.602 Feb 2025 03:15
minor feature:
ADDED: Ability to copy the paste by clicking the copy icon button or using the keyboard shortcut ctrl+c/cmd+c.
CHANGED: Allow toggling tab-key-support using ` Ctrl + m ` or ` Esc ` in textarea for keyboard navigation.
CHANGED: Switched to WASM streaming and replace unsafe-eval with wasm-unsafe-eval CSP declaration, requires webserver to have `application/wasm` MIME type configured.
CHANGED: Replaced usage of strpos with str_starts_with str_contains.
CHANGED: Added polyfill libraries for ctype, str_starts_with str_contains functions.
CHANGED: Turned paste delete link into a button.
CHANGED: Upgrading libraries to: DOMpurify 3.2.4, cloud-storage 1.45.0, aws-sdk-php 3.336.2.
CHANGED: `bootstrap5` template UI improvements.
: Redirect to the home page after changing the language.
1.7.513 Jan 2025 14:21
major feature:
ADDED: Allow non persistent SQL connections, if configured.
ADDED: Show a button (that redirects to the `basepath` URL) inside the alert after a paste is deleted.
CHANGED: Tweaked page footer of the `bootstrap5` template.
CHANGED: Simpler PostgreSQL table lookup query.
CHANGED: SRI hashes are now configurable, no longer hardcoded in templates.
CHANGED: Upgrading libraries to: DOMpurify 3.1.7, ip-lib 1.18.1, cloud-storage 1.43.0, aws-sdk-php 3.325.0. : Numeric array keys being cast to integer causing failures under strict type checking.
|