Log in New API Help About

dpaste.com Help


Use dpaste.com to share pieces of code in chat rooms, forums, and the like, without pastebombing the conversation. Your submission will be given a nice short URL like dpaste.com/ABCD23456.

You can set expiration from 1 day to 365 days (7 days is the default). After that it's deleted from our database and its URL will return a 404.

After you paste into the Content field, dpaste will automatically set the Syntax menu if it can.

There's a simple RESTful API for creating new pastes.

All paste URLs are "private". The IDs are non-sequential, and the links are not published anywhere on the site.

See the Terms of Service for prohibited uses.


  • Click the "Soft wrap" button to wrap long lines to window width, no horizontal scrolling. The resulting URL (ends with #wrap) can be shared too.
  • Add .txt to any paste URL to see it as raw text.
  • Click any line number for a permalink with an arrow pointing to that line.
  • To preset fields on page load, pass any of these URL parameters: syntax, expiry_days, title. (See API page for syntax choices.)
  • Size limit is 250,000 bytes.
  • Follow @dpaste@fosstodon.org (aka status.dpaste.com) for status updates.

Fun Fact: Base 32 IDs

Item IDs are base 32, with the digits chosen to minimize ambiguity. IDs never use the digits zero or one (0, 1) nor the capital letters that look like them (O, I). This helps if you need to read one to somebody, or transcribe it without copy/paste. (IDs are also case-insensitive, though uppercase is canonical.)

Keyboard shortcuts

  • Submit: ctrl-Enter
  • Duplicate: D
  • Change expiry: E
  • Raw text view: R
  • Change syntax: S
  • Toggle soft wrap: W
  • Delete: ctrl-Delete/Backspace

Scripts, Tools, Integrations

See the dpaste-tools repository for handy scripts and tools, like dpaste.sh, the CLI tool.

ipython has a built in %pastebin command that targets dpaste.com.


Use the support ticket form.


See the "Solutions" section in the help portal.

Account management

Additional features for account holders

Use is anonymous by default, but if you create an account you can:

  • Delete any of your items.
  • Change expiry of any of your items.
  • Change syntax of any of your items.
  • Access your preferences/history page:
    • Running list of items you've pasted
    • Preferences (default syntax, default expiry, syntax-guessing toggle)