Skip to content

Self-hosted alternatives to Pastebin

Pastebin is a website for pasting text and code online and sharing it by link. One listed app does its main job and runs in your own Cloudflare account.

Each answer comes from the app’s README and source code, compared with the features Pastebin describes on its own site.

  • CloudPaste Mount Explorer in gallery view, showing photo thumbnails from a Backblaze B2 folder

    Markdown pastebin and multi-storage file manager on Cloudflare Workers, mountable as a WebDAV drive

    Deploy
    Manual
    License
    Apache-2.0
    GitHub stars
    2.7k stars
    Last commit

Pastebin features, app by app

FeatureCloudPaste
Paste text or code and share a linkYes
Syntax highlighting for many languagesPartly
Paste expiration, including never and burn after readYes
Public, unlisted or private visibilityPartly
Optional paste passwordYes
Account with paste history and API accessPartly

Markdown pastebin and multi-storage file manager on Cloudflare Workers, mountable as a WebDAV drive

What a Pastebin user would miss
Anonymous posting, because creating a paste needs the admin login or an API key.
What it adds
It also serves raw links like GitHub Raw, exports Markdown to PDF, HTML, PNG or Word, and doubles as a file manager for several storage backends.
  • Yes Paste text or code and share a link. Markdown editor with a short link slug that can be customized.
  • Partly Syntax highlighting for many languages. Code highlighting in the Markdown view and 100+ languages in file preview; no language picker is documented.
  • Yes Paste expiration, including never and burn after read. Expiration time and max views, so one view acts as burn after read.
  • Partly Public, unlisted or private visibility. Public or private setting; no separate unlisted level is documented.
  • Yes Optional paste password. Per-paste password.
  • Partly Account with paste history and API access. Admin and API-key users list and manage their own pastes through REST endpoints; creating a paste needs the admin login or an API key.

Sources:doc.cloudpaste.qzz.io/en/guide/paste-managementdoc.cloudpaste.qzz.io/en/guide/featuresgithub.com/ling-drag0n/CloudPaste/blob/main/backend/src/security/policies/policies.jspastebin.com/