Serverless pastes
A serverless paste stores its text or code inside the share link instead of uploading a normal paste to AnonPaste. The creator and viewer run in your browser, and no account is required.
Choose a serverless paste when you want a self-contained link for a reasonably small piece of text or code. Choose a Lite paste when you need enforceable expiry, burn after view, editing, deletion, or a shorter share link. Choose a full paste when you need files, multiple content blocks, comments, themes, analytics, or detailed access controls.
Create a serverless paste
Section titled “Create a serverless paste”- Open Create a serverless paste.
- Add an optional title.
- Enter one piece of text or code.
- Choose a code language when you want syntax highlighting.
- Optionally add password encryption, a sensitive-content warning, or a client-side cutoff.
- Create the paste and copy the complete link.
The creator shows the current payload size. The final encoded fragment is limited to 32 KB.
How the link works
Section titled “How the link works”A serverless share link looks like this:
https://anonpaste.com/p#SP1...The part after # contains the compressed paste payload. Web browsers do not include a URL fragment in the request sent to a website, so AnonPaste receives the /p page request but not the payload after #.
The official viewer reads the fragment in the browser, restores the paste, and applies syntax highlighting or a content warning when configured.
Because there is no paste record on AnonPaste, we cannot:
- recover a lost link or password
- inspect or moderate the content
- remove or edit the paste
- provide a management link or account history
- provide comments, analytics, files, or other server-backed features
Keep your own copy of anything you may need later.
Encrypt and password lock
Section titled “Encrypt and password lock”Turn on Encrypt and password lock to protect the payload before it is placed in the link. You can enter your own password or use Random password.
Password-protected payloads are compressed and then encrypted in your browser. The password is not stored in the link or sent to AnonPaste.
Send the password through a separate channel from the link. Anyone who has both can open and copy the paste, and a lost password cannot be recovered.
Client-side cutoff
Section titled “Client-side cutoff”The optional cutoff asks the official AnonPaste viewer to stop showing the paste after:
- 1 hour
- 1 day
- 7 days
- 30 days
This is an advisory cutoff, not secure expiry. The cutoff time is part of the payload and is checked on the recipient’s device. A recipient can bypass it by changing their clock, using another decoder, or retaining content they opened earlier.
Use a Lite paste or full paste when you need deletion enforced by AnonPaste.
Link size and compatibility
Section titled “Link size and compatibility”The complete encoded payload after # has a 32 KB limit. Compression means repeated or ordinary text often uses less space than its original size, while already compressed, random, or heavily encoded text may use more.
Other services can impose smaller URL limits. Chat apps, email clients, QR codes, browsers, and link shorteners may truncate or reject a link before it reaches the AnonPaste limit. If the link is altered or incomplete, the paste will not open.
Always copy and share the complete URL, including everything after #.
Using a URL shortener
Section titled “Using a URL shortener”A URL shortener replaces the long serverless link with a shorter redirect. To do that, the shortener must receive and store the complete destination URL, including the embedded paste payload.
Using a shortener therefore changes the privacy model: the shortener provider can access the destination URL. Only use a provider you trust, and remember that the shortener may have a much smaller URL-length limit than AnonPaste.
We recommend Rels for creating and managing short links.
Share as Markdown or HTML
Section titled “Share as Markdown or HTML”After creation, the success screen can copy:
- the complete URL
- a Markdown link for README files, issues, and Markdown editors
- an HTML link for websites and HTML email templates
These formats all point to the same serverless paste. They do not change how the payload is stored.
Content warnings
Section titled “Content warnings”A sensitive-content warning makes the official viewer ask the reader to continue before showing the paste. It does not hide the payload from someone who has the link and does not provide age verification.