App docs

PrivateBin docs

Share text, code and notes through an encrypted link, on a pastebin of your own where the server cannot read anything. Open your address, write something, press Send and share the link it gives you.

Dev ToolsSmallest plan: LiteUpdated Plans and prices

What it is good for

PrivateBin is a minimalist, open source pastebin where the server has zero knowledge of what it stores. You paste text, code or a note, choose when it expires and optionally add a password, and your browser encrypts it with AES-256 before anything is sent. You get a link whose key sits after the # sign, which browsers never send to a server, so only people you give the whole link to can read the document.

It supports burn after reading, syntax highlighting, Markdown, optional encrypted comments and optional file attachments. Expired documents are deleted automatically, and you decide the default expiry, the size limit and how often one visitor can post.

On CoreHost, PrivateBin runs with its own storage, hosted in Australia, the United States or Poland. Your instance is public by design: anyone with a document's link can read that document, and anyone who can reach the site can create one within the limits you set. We handle the server, TLS, updates and daily backups.

PrivateBin is an independent open source project. CoreHost runs the official release and is not affiliated with it.

  • Zero knowledge: documents are encrypted in the browser and the server only ever stores ciphertext
  • Burn after reading, password protection and expiry from 5 minutes to 1 year
  • Safe defaults: no "never expires" option, no attachments, 2 MB limit and one new document per visitor every 10 seconds
  • Optionally limit who can create documents to your own IP addresses
  • Expired documents are removed automatically, and you can purge or delete documents from the app's console
  • Hosted in Australia, the United States or Poland

How to reach it

Your app gets its own address, https://<your app name>.hostedat.corehost.io. You choose the app name when you deploy, and the address has HTTPS from the start.

You can also use your own domain at no extra cost: point a CNAME at your app's address, prove you control the domain with a small TXT record, and the TLS certificate is issued and renewed automatically. Both steps are shown with copy-paste values in your control panel.

First sign-in

No sign-in needed.

There is no login and nothing to configure. Open your PrivateBin address and the editor is ready. Anyone who can reach the address can create a document within the limits you set; anyone with a document's full link can read that document.

To limit who can reach the app, switch on its firewall and allow only the IP addresses you choose. It is off by default.

First steps after deploy

  1. Open your PrivateBin address, type or paste your text and choose how long it should be kept. Pick burn after reading to delete it as soon as it has been opened once, or add a password for a second lock.
  2. Press Send. Copy the link that appears: the part after the # is the decryption key and exists only in that link, so keep the whole link together and send it over a channel you trust.
  3. Open Settings on CoreHost to change the default expiry, the largest document, file attachments, comments or how often one visitor may post. Restart the app to apply a change.

Bringing your data in

Paste or type text in the editor, or turn on file attachments in Settings to attach files. Everything is encrypted in your browser before it leaves it. Documents you write stay on your server until they expire or are deleted.

Apps and clients

Web browsers
Any modern browser with JavaScript works; the encryption runs in the page. Link previews in chat apps cannot read your document because they never see the key after the #.
Command line and scripts
The project's command line client and other community tools talk to the JSON API at your address. Use your own address and the document's full link.

Already running PrivateBin somewhere else? How to move it here, or read how moving to CoreHost works.

Connect it to other CoreHost apps

Apps on CoreHost reach each other over their public https addresses, the same way you do. There is no private network between apps yet, so when one app asks for another's address, give it the full https address (or your custom domain) and sign it in with that app's own key or login.

Related apps on CoreHost

Backups and updates

Every app is backed up automatically every night, including its database. Backups are encrypted and incremental and stored in the EU, and you keep restore points for the last 14 days plus four weekly ones. To restore, open the Backups card on your app page, pick a restore point and press Restore. Your current files are saved as a restore point first, so a restore can be undone.

Documents are individual files in your data folder and are included in the CoreHost daily backups, which are encrypted and stored in the EU. Documents past their expiry are deleted automatically and do not come back from an old backup once they have expired. Only people with a document's key can read it, including from a backup.

You can also send backups to your own S3-compatible storage, such as AWS S3, Backblaze B2, Cloudflare R2 or Wasabi, and use SFTP or the file manager to keep your own copies.

Updates

We check for new versions every day and test each one on a copy of the app first. With automatic updates on, a version that passes usually reaches your app within a day or two of us finding it, in your maintenance window. A backup is taken before every update, and if the updated app fails its checks it is rolled back automatically. Major versions wait for our review, so they can take longer. Turn automatic updates on or off, choose the maintenance window or press Update now in the Updates section of the app's Settings.

Each region's default update window and the changelog are on the updates page.

Where to get help

Questions about how PrivateBin itself works are best answered by the project's own documentation and community.

Licence
Zlib

CoreHost support

For anything about your app on CoreHost, open a ticket: sign in, go to Support tickets in your control panel and press New ticket. Our AI support answers around the clock and can look at your app's status and logs, and any change it suggests runs only after you confirm it. People take over when needed, during Australian hours.

Deploy PrivateBin

From US$1.10/mo in Poland. New accounts start with $5 of credit, no card needed.

Deploy PrivateBinPlans and regions