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.

See the Terms of Service for prohibited uses.

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 @dpastedotcom (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

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.

Support

Use the support ticket form.

FAQs

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)