Use dpaste.com to share pieces of code in chat rooms, forums, and the like, without pastebombing the conversation.
Your code gets a nice short URL like dpaste.com/ABCD23456
.
The code will be colorized according to the syntax selected.
After you enter text in the Content field, the app will try to guess the syntax and set the Syntax menu choice accordingly. (Syntax-guessing feature is active only when the Syntax selection is the default, "Plain text".)
You can set expiration from 1 day to 365 days (7 days is the default). After that it's deleted and its URL will return a 404.
By default, all pasted items are "private" — the links are not published anywhere on the site, and the IDs are non-sequential.
Registered users get a "Public" checkbox on the creation form (and on the Edit Properties form) to override this on a per-item basis. Public items are shown on your profile page, and on the public items page.
#wrap
) can be shared too.
.txt
to any item's URL to get the raw content only.
syntax
, expiry_days
, title
. (Here's an example, and here's the list of syntax choices.)
Item IDs are base 32. They are case-insensitive but uppercase is canonical.
The digit set omits 0
, 1
, O
,
and I
to reduce ambiguity.
Anonymous use is the default, but as a registered user you can: