Paste: Share Text and Code with a Link
Paste any text or code and get a link you can share. The whole paste is compressed and packed into the link itself (after the # in the URL), which browsers never send to a server, so nothing is uploaded and nothing is stored. Open a paste link and the text is shown back with the programming language auto-detected and syntax highlighted. Because the content lives in the link, anyone you give the link to can read it, and the paste lasts as long as the link does, with no account and no expiry.
How to share a paste
- Type or paste your text or code into the box.
- Click Create link to pack it into a shareable URL.
- Copy the link and send it. Opening it shows the paste with syntax highlighting.
Examples
Sharing a snippet
const sum = (a, b) => a + b;
A link like /dev/paste#H4sIA... that renders the highlighted code when opened.
Frequently asked questions
Is my paste uploaded or stored anywhere?
No. The text is compressed and encoded into the part of the URL after the # symbol. Browsers never transmit that part to a server, so the content stays entirely on your device and in the link. Nothing is uploaded, logged or stored.
Who can read a paste link?
Anyone who has the link. Since the content is inside the link, treat the link itself as the secret. Share it only with people you want to read the paste, the same way you would treat a private document URL.
Is there a size limit?
It is meant for snippets and documents, not huge files. The text is compressed first, so a lot fits, but very long pastes make unwieldy links that some apps shorten or cut off. If a paste gets large the tool warns you, and a stored short-link option is on the way for big content.
Does it highlight code?
Yes. When you open a paste link the tool detects the programming language automatically and highlights the syntax. You can also copy the raw text or open an editable copy to make changes and create a new link.
How long does a paste last?
As long as the link exists. There is no server and no expiry, so a paste link keeps working forever, even offline, because everything needed to show it is contained in the link.
Related tools
Diff Checker
Compare two texts or files side by side or unified, with word and character highlighting, ignore whitespace or case, collapse unchanged, and .diff export.
JSON Formatter
Format, validate and minify JSON online. Pretty-print with custom indentation, sort keys and catch syntax errors. Runs in your browser.
Text Diff
Compare two blocks of text and see the differences line by line. A clear LCS diff highlights added, removed and unchanged lines. Free and private.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
ASCII Table
Full ASCII table for all 128 codes with decimal, hex, octal and binary values, character names and descriptions. Search by code, hex or character.
Aspect Ratio Box Generator
Generate CSS for a responsive aspect-ratio container. Use the modern aspect-ratio property or the padding-top fallback, then copy the ready code.