HTML Paste
Paste Raw HTML Source — Highlighted, Never Executed
Share raw HTML snippets with syntax highlighting (not rendered). No XSS surface — it's text, not a sandbox.
There's a clean split in HTML-sharing tools: previewers like CodePen and JSFiddle *execute* your markup in a sandbox so you see the result, and source tools show you the literal characters. files.link is firmly the second kind, on purpose. It shares the raw HTML source with highlight.js coloring — tags, attributes, inline styles, and embedded <script>/<style> blocks all shown as text — so the recipient reviews the actual markup instead of a rendered approximation of it.
The deliberate non-rendering is also a security stance. Rendering arbitrary user-submitted HTML is a textbook XSS surface: an inline event handler or a <script> tag would run in whoever opens the link. Because a paste only ever displays source, you can share markup that contains scripts, onerror= handlers, or <iframe>s with zero sanitizing and zero risk — none of it executes, it's just colored text on a page.
That makes it the right tool for sharing a suspicious snippet you're investigating, a payload from a bug report, or any markup you don't fully trust.
The everyday cases fit just as well: showing a colleague the exact <head> meta and Open Graph tags a page emits, reviewing a chunk of templated output, sharing an email's HTML so someone can see why a client mangles it, or handing over a component's markup for a code review where the structure — not the rendered pixels — is the point. Email HTML especially benefits, since its inline-style, table-based markup is unreadable when flattened by chat tools.
No signup to create or read. Anonymous pastes hold 100KB, enough for a full page's source, and auto-delete after 24 hours; sign in for 1MB and any expiry up to permanent for markup you'll reference long-term. CodePen renders but requires an account to save; a Gist needs a login to publish. A paste link opens for anyone, shows the markup exactly as written, and never runs a line of it.
Benefits With No Complexity
Global CDN delivery
Edge-cached worldwide
Signed-URL security
What You Get
Unlimited files
Unlimited storage
Public + Private storage
CDN ready links
Prepaid credits
More coming soon
How files.link Works
1. Upload
2. Copy
3. Use Anywhere
Why Developers Choose files.link
A Better Way to Store & Deliver Files
| CodePen | GitHub Gist | JSFiddle | files.link | |
|---|---|---|---|---|
| Shows raw source, never rendered | ||||
| No XSS surface (scripts shown as text) | ||||
| Create + read with no signup | ||||
| Choose expiry (1h to permanent) | ||||
| Renders HTML in a sandbox |
Calculate Your Needs
Storage
Egress
CDN Bandwidth
Paste HTML
- Global CDN delivery
- Edge-cached worldwide
- Signed-URL security
- Unlimited files
- Unlimited storage
- Public + Private storage
- No subscription — prepaid credits keep spend predictable