Back to Blog
team@tinypod.app

Self-Hosting Hastebin/PrivateBin: Encrypted Paste Service

PrivateBin is an encrypted paste service. Share text, code, and files with end-to-end encryption. Self-hosted Pastebin without the tracking.

privatebinpasteencryptionprivacy

What Is PrivateBin?


PrivateBin is an encrypted paste service. Like Pastebin, but with end-to-end encryption — the server never sees the plaintext content.


Features


  • End-to-end encryption (AES-256-GCM)
  • Auto-expiry (5 min to never)
  • Password protection
  • Syntax highlighting
  • File attachments
  • Burn after reading
  • Discussion threads on pastes
  • Zero-knowledge (server stores only encrypted data)

  • Use Cases


  • Share code snippets securely
  • Share passwords (with burn-after-reading)
  • Share logs for debugging
  • Quick text sharing between devices
  • Share configuration snippets

  • PrivateBin vs Pastebin


  • PrivateBin: Encrypted, self-hosted, private
  • Pastebin: Unencrypted, tracks users, shows ads

  • Deployment


    1. Deploy PrivateBin on TinyPod

    2. Access the web interface

    3. Paste text, set expiry, share the link


    Resources: 1 CPU, 128 MB RAM. PHP-based, extremely lightweight.


    The encryption key is in the URL fragment (#), which is never sent to the server. Only someone with the full link can decrypt the paste.