Zero Datastore • Zstandard Level 19 WebAssembly

Zero database. Zero tracking. Compressed directly into the URL.

Paste code, compress via client-side Zstandard Level 19 WebAssembly, and share instantly through URL fragment hashes. 100% private, serverless, and offline-ready.

100% Free & Open Source under MIT License • Zero Accounts or Telemetry • Permanent URLs
sharepaste.io/app.html
SharePaste Code Editor with TypeScript Compressor
Adaptive QR Code ≤ 350 Chars
High-contrast QR Code Modal
1-Click Direct Copy > 350 Chars
Inline Copied Feedback on Long Code
Serverless Privacy RFC 3986
About Modal and Architecture

Live Zstandard Compression Sandbox

Test the real-time compression engine directly in your browser. Watch raw source code shrink into compact base64 URL fragments.

Presets:
Original Payload 226 B (226 chars)
Zstd Level 19 Payload 98 B
Space Reduction 57% SAVED
Total URL Length 186 chars
Adaptive Mode Camera QR Scannable

Engineered for stateless simplicity.

A pure peer-to-peer sharing protocol eliminating databases, storage limits, and server vulnerabilities.

Zstandard Level 19 WebAssembly Engine

By compiling Facebook’s zstd algorithm to WebAssembly (@bokuweb/zstd-wasm), SharePaste compresses source code at maximum compression level 19 right inside the browser thread. Large multi-line classes shrink by up to 75%, allowing massive snippets to fit comfortably inside standard browser URL bounds.

WASM Level 19

Zero-Datastore Security

Snippets reside exclusively in the URL fragment identifier (#). Under RFC 3986, browsers never transmit fragment data across the wire to hosting servers or access logs.

RFC 3986 Privacy

Dual Adaptive Sharing

Calculates scannability in real time: URLs ≤ 350 chars display a high-contrast Level L QR code with large modules (≥ 2.6 px/module). URLs > 350 chars automatically switch to instant 1-click clipboard copy.

Adaptive Protocol

Zero Accounts & Permanent Snippet Validity

No sign-ups, no monthly subscriptions, and no expiration dates. Because the URL itself holds the payload, your snippet links will never expire, be purged by a backend cron job, or get blocked by database downtime.

100% Peer-to-Peer

Built for fluid developer workflows.

Full editor keyboard shortcuts for fast navigation and sharing.

Share & Copy Link
Trigger adaptive share action
CtrlS / CmdS
New Snippet
Open a fresh snippet in a new tab
CtrlAltN
Indent & Unindent Selection
Adjust indentation by 4 spaces
Tab / ShiftTab
Dismiss Overlay / Modal
Close QR popup, dropdown, or about card
Esc

Frequently asked questions.

Where is my code stored? Can anyone see it?
Your code is never stored in any database or cloud storage. When you share a snippet, it is compressed with Zstandard WebAssembly on your machine and stored directly inside the URL fragment (#hash). Web browsers never send fragments over HTTP requests, meaning nobody—not even the host server—can see your code unless you send them the link.
Why Zstandard Level 19 instead of Gzip or LZMA?
Zstandard (zstd) was created by Yann Collet at Meta to provide modern high-ratio compression at blazingly fast decompression speeds. Compiling it to WebAssembly allows us to run level 19 compression in milliseconds directly in browser threads, achieving 25–40% better compression than traditional deflate/gzip algorithms.
What is the maximum code size supported?
Most modern browsers (Chrome, Edge, Firefox, Safari) support URLs up to 32,000–64,000 characters. With Zstandard Level 19 compression, you can comfortably share complete source files of 500 to 1,500+ lines of code without running into URL limits.
Can I run SharePaste offline or self-host it?
Yes. SharePaste is entirely static HTML, JavaScript, and WebAssembly. You can clone the GitHub repository and host it on GitHub Pages, Cloudflare Pages, Vercel, Nginx, or run it locally using python -m http.server 8000.
Is SharePaste free and open source?
Yes, 100%. SharePaste is released under the permissive MIT License. You are free to inspect the source code, fork the repository, or embed it into your own developer workflows.

Start sharing code without server baggage.

Free, serverless, zero telemetry, and compressed with Zstandard WebAssembly.