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 API for creating new pastes.

All paste URLs are "private" by default. The IDs are non-sequential, and the links are not published anywhere on the site unless they belong to an account with a public profile.

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.
  • To preset fields in the submission form, pass any of these URL parameters: syntax, expiry_days, title. (Here's an example, and here's the list of 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.

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, syntax, or title 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, colorizing style)
  • Optional public profile with links to your ten most recent items
  • Markup items (Markdown, reStructuredText) can be previewed

Keyboard shortcuts

  • Edit item properties (expiry/syntax/title): E
  • Delete: Delete/Backspace
  • Duplicate: D
  • Favorite: *
  • Raw text view: R
  • Submit: ctrl-Enter
  • Toggle soft wrap: W

FAQs

See the "Solutions" section in the help portal.

Account management

Support