About retyc-paste
A modern, zero-knowledge pastebin. Write some text, get a link, and nobody but the people with that link, not even the server, can read it. Use the official public instance at paste.retyc.com, or host your own.
How it works
Everything sensitive happens in your browser, with the standard Web Crypto API. The server only ever stores an opaque encrypted blob.
- 1. CompressYour text is compressed with raw DEFLATE.
- 2. DeriveA random 256-bit key (plus an optional password through PBKDF2, 600,000 rounds) goes through HKDF-SHA-256.
- 3. EncryptAES-256-GCM seals the data. The options (burn, password) are authenticated too.
- 4. ShareThe ciphertext is uploaded. The key lives in the link after the
#.
The part of a URL after # (the fragment) is never sent to a server by browsers. That is why the key stays with you and the people you share the link with. If you add a password, it is mixed into the key derivation: the link alone is not enough.
- Burn after reading: the server deletes the paste atomically on the first read, so only one reader ever gets it.
- Expiration: pastes are removed automatically, and an expired paste is never served.
- No accounts, no tracking, no third-party requests. Fonts, icons and scripts are all served from the same origin under a strict Content Security Policy.
- Open format: the specification is public, so you can verify it or write your own client.
What it does not protect against
Anyone who has the full link can read the paste, so share it over a channel you trust. A malicious server could in theory serve modified JavaScript: if that matters to you, self-host it or use the CLI, which runs the same cryptography locally. Pastes created through the API in plaintext mode are encrypted by the server and are not zero-knowledge.
Frequently asked questions
Is it really zero-knowledge?
Yes for pastes created in the web page, with the command-line client or with the local MCP server: the text is encrypted on your device and the key stays in the part of the link after #, which browsers never send to the server. The server only stores ciphertext.
Why does the MCP connector see my text?
An AI assistant sends the text to the hosted /mcp endpoint, which encrypts it for the assistant. The paste is stored encrypted, but the server sees the text briefly while encrypting it. For text the server must never see, use the local MCP server or the command-line client, which encrypt on your machine.
How long are pastes kept?
Until they expire. With the default settings you choose from 5 minutes to 1 month (1 day if you do not pick one); each instance can change this list. Expired pastes are never served and are deleted automatically. A burn-after-reading paste is deleted as soon as it is read once.
Can I self-host it?
Yes. retyc-paste is open source and ships as a single Go binary or container image, with local or S3-compatible storage. See self-hosting below.
Is it free?
Yes. The public instance at paste.retyc.com is free to use, with no account and no ads, and the source code is available under the AGPL-3.0 license.
Why Retyc
retyc-paste is built by Retyc, a European platform for secure, end-to-end encrypted file transfer. Text is only half of the story: when you need to send documents, archives or large files with the same level of privacy, use Retyc secure file transfer. Learn more about our approach to privacy on the Retyc website.
Self-hosting
retyc-paste is a single static Go binary with the interface embedded. Storage can be a local directory or any S3-compatible bucket, and everything is configured through flags, environment variables or a YAML file.
RETYC_PASTE_PUBLIC_URL=https://paste.example.com \
RETYC_PASTE_STORAGE=local \
RETYC_PASTE_DATA_DIR=./data \
retyc-paste serveSource code, issues and releases are on GitHub. See also the API documentation.