Launch App

Zero bytes sent.
No server stores your paste.

The URL IS the paste. High-density WebAssembly Zstandard compression executes directly inside your browser. Zero backend databases, zero packet sniffing, zero third-party server custody.

https://sidhu1512.github.io/SharePaste/app.html#KLUv_sAA0D...
Zero Server Logs
serverless_snippet.ts Level 19 WASM
100% Client-Side Sandbox
010203040506070809101112
// SharePaste Zero-Datastore RFC 3986 Pipeline
import { compressZstd } from '@sharepaste/wasm';

export async function generatePasteUrl(source: string): Promise<string> {
  // 1. Compress raw UTF-8 bytes in-memory
  const rawBuffer = new TextEncoder().encode(source);
  const compressed = await compressZstd(rawBuffer, { level: 19 });
  
  // 2. Encode to URL-safe Base64 payload
  const fragment = encodeUrlSafeBase64(compressed);
  
  // 3. RFC 3986: Hash fragment is NEVER transmitted over HTTP
  return `https://sidhu1512.github.io/SharePaste/app.html#${fragment}`;
}
Share
Copy
QR Code
1.84 KB → 418 B (-77.3%)

Engineered with Systems Precision

Explore the four cornerstone layers of SharePaste. Switch tabs below to inspect live interface states, technical telemetry, and runtime guarantees.

CANVAS ENGINE

Zero-Latency Code Editor

Syntax-highlighted in real time powered by Prism.js. Built with synchronized line counters, soft line wrapping, read-only locking, and responsive mobile-optimized typography.

  • 14+ core syntax grammars supported out of the box
  • Sub-millisecond input response with zero main-thread lag
  • Drag-and-drop file ingestion directly into browser buffer
Hotkey Shortcut: Ctrl + S to compress & generate shareable link
SharePaste — Editor Mode
SharePaste Stage Screen

Runtime Telemetry

Compression Ratio
Up to 84% Zstd Level 19

Extreme entropy reduction tailored for plain-text source code.

Network Transmission
0 Bytes RFC 3986 #

Fragment identifiers never reach the upstream server.

WASM Latency
< 0.8 ms Client WASM

Instantaneous decompression on page load with zero spinners.

Live Compression & QR Threshold Lab

Test SharePaste's live payload calculation directly on this page. Choose a code preset or write your own to watch real-time byte compression and QR threshold routing.

Presets:
Buffer Input (0 characters)
RAW SIZE 0 B
→
COMPRESSED 0 B
|
SAVED 0%
ADAPTIVE QR ENABLED < 350 Char Limit

Payload fits cleanly into a high-density scannable QR code (> 2.6 px/module). Scanning with your smartphone instantly mounts the snippet.

Generated URL Fragment Preview:
WASM COMPRESSION

Unmatched Density

We deploy raw C WebAssembly Zstandard to compress your code directly into the URL hash. Extreme dictionary-grade compression ensures maximum payload density.

0
Compression Levels Available
SYNTAX GRAMMARS

Prism.js Highlighting

Full support for JS, TS, Rust, Python, Go, HTML, CSS, SQL, JSON, Markdown, and more.

0
Languages Supported
SMART TRANSFER

Adaptive QR Engine

Under 350 characters? SharePaste generates a crystal-clear, scannable QR matrix instantly on screen for instant phone handoff.

OFFLINE RESILIENCE

Offline Capable

Works 100% locally. Disconnect the internet, turn on airplane mode, and SharePaste keeps decompressing and generating links effortlessly.

Why Zero-Datastore Outperforms Traditional Cloud Pastebins

A staff engineer's guide to how client-side hashing eliminates storage leaks, server exploits, and surveillance vectors.

01

The URL Hash (#) Is Never Transmitted

According to the RFC 3986 URI specification, fragment identifiers (everything following the # character) are strictly client-side constructs. Your web browser strips the fragment before issuing HTTP GET requests to any web server or CDN.

This means our hosting servers, network edge routers, proxies, and ISPs never see your paste contents. Even with a subpoena or database breach, there is literally nothing to hand over.

RFC 3986 Compliant Zero Server Handshake No Expiration Limits
02

Adaptive Multi-Density QR Routing

Traditional tools try to force massive URLs into unreadable, dense QR codes with tiny pixel modules that fail to scan under normal camera lenses.

SharePaste continuously checks the compressed URL length against our scannable threshold (350 characters / ≥2.6 px per module). Short snippets render an elegant QR modal immediately; longer snippets automatically pivot to a 1-click clipboard link to guarantee 100% scan reliability.

≥2.6 px/module Matrix Physical-to-Digital Bridge Scan-to-Device
03

Pristine Mobile Responsiveness

Engineered from the ground up for both high-end desktop workstations and pocket mobile devices. Touch targets are carefully measured, the floating toolbar floats without obstructing text, and responsive viewport sizing prevents zoom jumping on mobile keyboards.

Whether reading code on a subway train or pasting configuration logs from an iPad, SharePaste gives you a native app feel without downloading an app.

iOS & Android Ready Retina Optimized Zero Framework Bloat

Keyboard Shortcuts Matrix

Keep your hands on the home row. Every major operation in SharePaste is bound to sculpted mechanical hotkeys.

Ctrl + S

Generate & Share

Instantly compress editor buffer and trigger adaptive link/QR modal.

Ctrl + L

Toggle Read-Only Lock

Prevent accidental edits while presenting code or sharing your screen.

Alt + Z

Toggle Word Wrap

Switch between horizontal scrollbar mode and soft line wrapping.

Ctrl + /

Toggle Line Numbers

Clean minimal distraction-free canvas or full numbered IDE view.

Ctrl + Alt + N

New Paste

Clear current buffer and start a clean snippet session.

Ctrl + K

Command Palette

Universal spotlight menu to jump anywhere or execute actions.

Esc

Dismiss Modal

Instantly close QR popup, About sheet, Lightbox, or Command Palette.

How it Works

Four deterministic steps running entirely in userland.

1

Write

Paste or type your code into the high-performance editor. Zero sign-up, zero accounts.

2

Compress

WebAssembly Zstandard crunches source code into high-density binary arrays in <1ms.

3

Fragment

Payload is converted into a URL-safe Base64 string and appended after the # hash.

4

Share

Send the link or let others scan the adaptive QR code directly from your display.

Built on Open Web Standards

WebAssembly Zstandard v1.5.5 Prism.js RFC 3986 Vanilla Modern JS QRCode.js WebAssembly Zstandard v1.5.5 Prism.js

The Privacy Difference

How traditional pastebins put your code at risk versus SharePaste's zero-custody model.

Traditional Pastebin

Browser
Server
Database
Stored On Cloud Disks

SharePaste

Browser
URL Fragment #
Zero Server Custody

Frequently Asked Questions

Everything you need to know about how SharePaste works, its privacy model, and its limits.

Can the server see my code?

No. SharePaste stores snippet data exclusively in the URL hash fragment (the text after #). Per RFC 3986, browsers never include fragment identifiers in HTTP requests. The static app is served from GitHub Pages, so host servers only ever see requests for /app.html, never your code. However, recipients and chat applications that receive your full link can decode and read the content.

Is it encrypted?

No. Your snippet is compressed with Zstandard WebAssembly and encoded into a URL-safe Base64 string, but it is not encrypted with a cryptographic key. Anyone with access to the link or your browser history can view the code. Always treat SharePaste URLs like public links.

How long do links last?

Indefinitely. Because the entire snippet payload is serialized directly inside the link itself, there is no remote database to expire, prune, or wipe snippets. As long as any browser can open the SharePaste static page (or cache it offline), the snippet will decode forever.

What's the size limit?

Modern web browsers can navigate URLs with tens of thousands of characters. However, external chat applications (like Discord, Slack, WhatsApp, or Teams) and email clients frequently truncate or break hyperlinks longer than ~2,000–4,000 characters. For sharing across chat apps, keep your snippets concise.

How is it different from Pastebin, Gist or PrivateBin?

Traditional pastebins like Pastebin and GitHub Gist upload and store your source code on centralized servers and databases. PrivateBin encrypts content client-side before upload, but still requires a backend server to store the ciphertext blob. SharePaste stores nothing anywhere: there is zero backend, zero database, zero accounts, and zero disk storage. The URL is the paste.

Ready to share code without compromises?