FAQ

What is snippet.sh?

snippet.sh is a free temporary pastebin. You paste text, such as code, logs, or a note, and you get a link that you can share. The link expires after 5 minutes to 1 hour. Then the service deletes the text. An account is not necessary.

How long does a paste stay available?

You select 5 minutes, 10 minutes, 30 minutes, or 1 hour. The default is 5 minutes. After that time, the service deletes the paste. You cannot keep a paste for more than 1 hour.

Can snippet.sh read my paste?

No, if you make the paste in a browser. Your browser encrypts the text with AES-GCM and a new 128-bit key before the upload. The key is in the link, after the # character. A browser does not send that part of a link to a server. A paste from a terminal is different: it is not end-to-end encrypted, and the server stores the text as you sent it.

Is it safe to send a password or an API key?

Yes, if you use the form on the home page and select "Delete after the first read". Your browser then encrypts the text, and the link opens one time only. Do not send a password from a terminal. Anyone who has the full link can read the paste, so send the link only to the correct person.

How do I share terminal output or a log file?

Pipe the output to curl: command | curl -T- https://snippet.sh . To send a file, use: curl -T error.log https://snippet.sh . The reply is one line that contains the link. No installation is necessary. Add ?ttl=1h to keep the paste for 1 hour. Add ?burn=1 to delete the paste after the first read.

What does "Delete after the first read" do?

It makes a one-time link. The reader sees a button. When the reader selects the button, the browser shows the paste and the server deletes it. A link preview in a chat application, such as Slack or Microsoft Teams, does not delete the paste.

Is snippet.sh free? Is an account necessary?

snippet.sh is free, and an account is not necessary. The site uses no cookies and shows no advertising.

What are the limits?

A paste contains text only, and its maximum size is 1 MiB. A paste expires after 1 hour at most. One IP address can create 10 pastes each minute.

Guides: share terminal output with curl and send a password with a one-time link.