Logo

Pastebin

Create shareable code snippets with permanent links

Hybrid Storage
1 Lines0 Words0 Chars

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?+
Yes, completely free. No account, no signup, no limits on number of pastes.
Where are pastes stored?+
On a database server. Each paste gets a unique ID and is retrievable via its URL from any device or browser.
Can anyone see my paste?+
Only people who have the link. Paste IDs are random 8-character strings — they are not guessable or indexed by search engines.
What happens when a paste expires?+
The Database server automatically deletes it when the TTL (time-to-live) expires. The URL returns a "Paste not found" message.
How many languages are supported?+
30 — JavaScript, Python, TypeScript, Java, C, C++, Go, Rust, PHP, Ruby, SQL, Bash, YAML, XML, Markdown, Swift, Kotlin, Dart, and more.
What is the maximum paste size?+
512 KB per paste. This covers the vast majority of code snippets, config files, and log outputs.
Can I download my paste?+
Yes. On the paste view page, click Download to save it as a file with the correct extension (.js, .py, .html, etc.).
How long do pastes last by default?+
30 days. You can set shorter expiry times: 10 minutes, 1 hour, 1 day, or 1 week.

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

  1. Paste your code or text, under about half a megabyte.
  2. Redact any keys, tokens, email addresses or internal hostnames first.
  3. Pick the shortest expiry that works — ten minutes is often enough.
  4. Check the confirmation says the paste was created on the server, not saved locally.
  5. 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?

▼
Anyone holding the link. There is no password and no access list, so treat the URL as the only thing standing between your paste and the world. The ID is randomly generated rather than sequential, so it cannot be guessed by counting.

How random is the link?

▼
The ID is eight characters drawn with a cryptographic random generator from an alphabet of 55 that deliberately omits the confusable ones — no capital O, no zero, no lowercase l, no one. So links are hard to guess and easy to read aloud.

Does the "Never" expiry option really mean never?

▼
No, and this is worth knowing. The server caps it at 30 days to avoid storing things indefinitely. Thirty days is the longest a paste survives whatever the label says. For anything you need to keep, store it somewhere you control.

What are the actual expiry options?

▼
Ten minutes, one hour, one day, one week and 30 days. The short ones are genuinely useful: a ten-minute paste for a stack trace in a chat is gone before anyone could find the link later.

Is there a size limit?

▼
Just over half a megabyte, which is a great deal of text — roughly a hundred thousand words. If you are hitting it, you are probably pasting a log file, and the relevant excerpt is more useful to whoever is reading it anyway.

Why does my link not work for my colleague?

▼
Because the paste was saved locally rather than on the server. If server storage is unavailable the tool falls back to your browser's own storage and warns you — the paste exists only on your device, so the link resolves to nothing for anyone else.

Can I delete a paste before it expires?

▼
Not through the tool. Once created, it lives until its expiry. That is an argument for choosing a short expiry by default rather than a long one and hoping — ten minutes costs you nothing if the recipient is already waiting.

Should I paste logs that contain real data?

▼
Redact them first. Production logs routinely carry API keys, session tokens, email addresses and internal hostnames, and a paste link can be forwarded anywhere. Strip the sensitive values before pasting rather than after someone points it out.

Does syntax highlighting change my content?

▼
No. Choosing a language affects display only — the stored text is exactly what you pasted, whitespace included. Picking the wrong language makes it look odd and alters nothing.

Is this a good way to back something up?

▼
No, and it is not designed to be. Everything expires within 30 days at the outside, there is no way to list or recover a paste whose link you lost, and the tool keeps no account. It is for handing something to someone now.

Related Tools You Might Like

Advertisement