share-pad
Share a snippet of text via a short 6-digit code (stored temporarily on a server) or an offline URL-hash link where the full content is compressed into the URL itself — no account required, nothing to install.
6-digit code offline URL-hash fallback no account required
create_share
retrieve_share
// sharing options explained
- 6-Digit Code — A short code like
482 195that's easy to read out, type, or paste. When you generate a share, the text is compressed and stored server-side in a temporary key-value store — the code is just a retrieval key. Codes are short-lived and expire automatically. This mode requires a network round-trip to retrieve. - Offline Fallback Link — The entire text is compressed (GZIP) and encoded directly into the URL hash fragment. Nothing is sent to any server — the URL itself contains all the data. The recipient's browser decompresses it locally when they open the link. The trade-off: the URL can get very long for large inputs, which some messaging apps may truncate or reject.
The 6-digit code path temporarily stores your text on a server. Do not share anything sensitive — passwords, production secrets, private keys, or personal data — via the code path. For sensitive content, use the offline fallback link: the data never leaves your browser and the recipient's browser, and the server never sees it. If you share a URL with sensitive data in the hash and that URL gets logged (by a proxy, a chat client, or a browser extension), the data is exposed regardless of the hash-fragment design. Treat the offline link as convenient, not cryptographically secure.