Log in New API Help About

dpaste.com Help

Usage

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.

Tips

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

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

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
    • Preferences (default syntax, default expiry, syntax-guessing)
  • Optional public profile with links to your ten most recent items

Scripts, Tools, Integrations

FAQs

See the "Solutions" section in the help portal.

Account management

Support