Pastebin
Create shareable code snippets with permanent links
Hybrid storage: Pastes are saved to a secure database for sharing. If the database is not configured, it will fall back to local browser storage seamlessly.
Free Online Pastebin — Share Code with Permanent Links
This Pastebin creates server-stored, shareable code snippets. Unlike browser-only pastebins that lose data when you clear your cache, every paste here gets a unique permanent URL that anyone can access. Your code is stored in a database on the server — not localStorage.
Pick a language from 30 options, set an optional expiry (10 minutes to 30 days), and paste your code. One click creates a shareable link like omniwebkit.com/tools/pastebin/xK7mP2qn that you can send to colleagues, students, or friends. They see your code with line numbers, syntax labels, view count, and one-click copy/download.
No signup, no account, no watermarks. Pastes auto-expire after the selected duration (default 30 days). Perfect for sharing code during code reviews, debugging sessions, interviews, or teaching.
Why Server-Side Storage Matters
Shareable permanent URLs
Every paste gets a unique URL. Share it with anyone — they don't need an account to view your code.
Survives browser clears
localStorage pastebins lose everything when you clear your cache. Server storage persists across devices and browsers.
View count tracking
See how many people viewed your paste. Useful for tracking engagement on shared snippets.
Auto-expiry with TTL
Set pastes to expire automatically. The server deletes them — no manual cleanup needed.
Frequently Asked Questions
Is this pastebin free?+
Where are pastes stored?+
Can anyone see my paste?+
What happens when a paste expires?+
How many languages are supported?+
What is the maximum paste size?+
Can I download my paste?+
How long do pastes last by default?+
What a paste text get link service is actually for
The use case is narrow and genuinely useful: handing a chunk of text to someone right now, where pasting it into a chat would be unreadable.
A forty-line stack trace in a chat window destroys the conversation and loses its formatting. The same trace behind a link is readable, syntax highlighted and scrollable, and the conversation stays legible.
That is the whole job. It is not storage, not a snippet library and not a backup. Everything expires, nothing can be listed, and a link you lose is gone — which is appropriate for something meant to be read once and forgotten.
Knowing that shapes how you use it. Choose a short expiry, send the link, and let it disappear. Treating it as a filing system is how people end up surprised.
Why the link is the only protection
There is no password, no access list and no login. Anyone who has the URL can read the paste, and that is worth being explicit about.
The ID is not guessable by brute force. Eight characters from a 55-character alphabet, generated with a cryptographic random source, produces a space far too large to walk through — and because the IDs are random rather than sequential, finding one tells you nothing about any other.
The risk is not guessing, it is forwarding. A link pasted into a group chat, a ticket, an email thread or a screenshot travels further than you intended, and it keeps working until the paste expires.
Two habits handle this. Redact anything sensitive before pasting — logs are full of tokens, keys and internal hostnames that nobody thinks about until they are published. And choose a short expiry, because a ten-minute paste that gets forwarded is harmless.
The expiry ceiling and why it exists
The interface offers a "Never" option, and the server does not honour it literally. Everything is capped at 30 days.
That is a deliberate decision rather than a bug. A paste service that stores text forever accumulates an ever-growing archive of other people's code, logs and credentials, with nobody managing it and nobody able to find or delete their own entries. Thirty days keeps that bounded.
The practical consequence: do not rely on a paste still being there next month. If the content matters, copy it into a repository, a document or a ticket. The paste is the delivery mechanism, not the record.
The shorter options are more useful than they look. Ten minutes is ideal when the recipient is already in the conversation — the content is delivered and the link is dead before anyone could stumble on it later.
When a paste only exists in your own browser
One behaviour catches people out, and the symptom is confusing: your link works perfectly and your colleague sees nothing.
If server storage is unavailable, the tool does not fail. It saves the paste into your browser's own storage so your work is not lost, and shows a warning saying so. The paste is real and it is on your device only.
From your side everything looks normal, because your browser has the content. From anyone else's, the link resolves to nothing — there is no record on any server for it to find.
So read the confirmation message rather than skipping past it. If it says the paste was saved locally, copy the content and send it another way. And if you clear your browser data, locally saved pastes go with it.
How to use the Pastebin
- Paste your code or text, under about half a megabyte.
- Redact any keys, tokens, email addresses or internal hostnames first.
- Pick the shortest expiry that works — ten minutes is often enough.
- Check the confirmation says the paste was created on the server, not saved locally.
- Send the link, remembering anyone who receives it onward can read it too.
What this tool handles
Expiry you choose
Ten minutes to 30 days, with 30 days the ceiling whatever the label says.
Unguessable links
Eight cryptographically random characters from an alphabet without confusable letters.
Syntax highlighting
Display formatting for common languages; the stored text is unchanged.
No account needed
Paste and share without signing up for anything.
Frequently asked questions
Who can read my paste?
▼
How random is the link?
▼
Does the "Never" expiry option really mean never?
▼
What are the actual expiry options?
▼
Is there a size limit?
▼
Why does my link not work for my colleague?
▼
Can I delete a paste before it expires?
▼
Should I paste logs that contain real data?
▼
Does syntax highlighting change my content?
▼
Is this a good way to back something up?
▼
Related Tools You Might Like
YAML Creator & Validator
Create, validate, and generate YAML files with predefined templates for deployment configurations
JWT Decoder
Decode and inspect JSON Web Tokens — view header, payload, and expiration
Markdown Editor
Write and preview Markdown with live rendering, toolbar, and export options
IP Lookup
Look up IP address geolocation, ISP, timezone, and network details
Caesar Cipher & ROT13 Decoder
Classical ciphers and encodings: Caesar, ROT13, XOR, Base64, hex, Morse
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text and files
