paste2url

Paste text, get a URL. Open the URL and you get the text back, as plain text.

From the command line

POST the text to /, as the request body or as a form field called text.

curl --data-binary @notes.txt https://www.paste2url.com/
cat notes.txt | curl --data-binary @- https://www.paste2url.com/
curl --data-urlencode text@notes.txt https://www.paste2url.com/

The answer is the URL of your paste, on one line:

https://www.paste2url.com/k3Vq8nZt

GET that URL to read the text:

curl https://www.paste2url.com/k3Vq8nZt

Text only, up to 1 MB. The part after the slash is always 8 letters and digits.

Changelog
  • v0.3 – also accpets a form field called text, not just a raw body
  • v0.2 – pastes are always served as text/plain, limit raised to 1 MB
  • v0.1 – first version

paste2url · text in, URL out