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 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.


  • 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.
  • To preset fields on page load, pass any of these URL parameters: syntax, expiry_days, title. (See API page for syntax choices.)
  • Compare any two items via the Diff button.
  • Size limit is 250,000 bytes.
  • Follow @dpaste@fosstodon.org (aka status.dpaste.com) for status updates.

Keyboard shortcuts

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

Additional features for account holders

Anonymous use is the default, but if you create an account you can:

  • Add others' items to your favorites list (great for teams)
  • Delete any of your items
  • Change expiry of any of your items
  • Change syntax of any of your items
  • Get a personal dashboard with:
    • Running list of items you've pasted
    • Items you've starred
    • Your API token
    • Preferences (default syntax, default expiry, syntax-guessing)
  • Optional public profile with links to your ten most recent items

Scripts, Tools, Integrations


See the "Solutions" section in the help portal.

Account management