← pastesite.com — free paste sharing, no signup

How to Password-Protect Shared Text or Code

Password protection stays free. Optional Plus is $5 USD/month for larger pastes and higher organisation limits.

By · Guide · updated October 2026 · 3 min read

A paste link is readable by anyone who has it — links get forwarded, pasted into group chats, and eventually end up in search results. A password on the paste adds a second lock: someone needs both the link and the password to read the text.

Doing it on pastesite.com

  1. Paste your text at pastesite.com.
  2. Type a password in the Password (optional) field.
  3. Create the paste and send your reader the link and the password — ideally through two different channels (the link in chat, the password spoken or texted).

When your reader opens the link, they see a password box first. Only after typing the right password does the paste content appear. The password itself is never stored — the server keeps only an irreversible scramble of it.

Choosing a share password

What a password does and doesn't do

A password stops a stranger who stumbles on the link from reading the text. It does not stop the person you sent the password to from sharing it — or from copying the text once they're in. And since the reader's browser must receive the text to display it, and the server stores it, this is a convenience lock, not encryption. For genuinely sensitive material, use Encrypt in this browser (see the browser-encryption guide): the text is encrypted with AES-256-GCM in the browser, the key stays in the link fragment, the server stores the text as ciphertext, while the optional title and metadata remain visible, and the paste must be unlisted. That mode cannot take a password, cannot be edited, and cannot be recovered if the link is lost — so it suits a one-off secret, not a document you will fix later.

Try it: add a password to a paste on pastesite.com with one field — no account, no setup. Protect a paste with a password

Frequently asked questions

How does a password-protected paste work?

The reader must type the correct password before the text is shown. The password itself is never stored — the server keeps only an irreversible hash of it, so even a database leak does not reveal it.

What makes a good share password?

Something long and unguessable that you never reuse from a real account — three or four unrelated words are easier to dictate than a short symbol-heavy password, and safer than one.

Can I share the link and password in the same message?

You can, but sending them through different channels is safer — for example the link in chat and the password by text or spoken. Then intercepting one channel is not enough to read the paste.

Does a password make the paste encrypted?

No. The password is a gate in front of the text; the reader's browser still receives the plain text to display it, and the server stores it. It stops strangers with the link, not the person you gave the password to. If the server must not read the text, tick Encrypt in this browser instead — AES-256-GCM in the browser, key in the link fragment, ciphertext on the server, unlisted-only.