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

Your files are served from 450+ edge locations worldwide.

Edge-cached worldwide

Files are cached close to your users for fast delivery.

Signed-URL security

Private files stay protected with time-limited access.

What You Get

Unlimited files

Upload as many files as you need.

Unlimited storage

There is no storage limit.

Public + Private storage

Private files are fully secured.

CDN ready links

Upload directly to 450+ edge locations worldwide.

Prepaid credits

No subscription. Pay only for the storage and bandwidth you use.

More coming soon

We have plenty of features coming!

How files.link Works

1. Upload

Create a project and upload your first file.

2. Copy

Copy the CDN link.

3. Use Anywhere

Paste and enjoy the blazing speed.

Why Developers Choose files.link

A Better Way to Store & Deliver Files

CodePenGitHub GistJSFiddlefiles.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

0GB

Egress

0GB

CDN Bandwidth

0GB
Total: $0.000/month

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
Create a Paste

Frequently Asked Questions

Why doesn't it render the HTML?
Rendering arbitrary HTML is an XSS surface, and the use case here is reviewing the literal markup. The recipient copies the source into their own sandbox if they want to see it rendered.
Is it safe to paste HTML containing <script> or event handlers?
Yes. Everything is shown as text and never executed, so you can share untrusted markup, payloads from bug reports, or inline scripts with no sanitizing.
Can I share a full page or an HTML email?
Yes. Up to 100KB anonymously and 1MB signed in — enough for a complete page or a table-based email template that chat tools would otherwise flatten.
How long does an HTML paste last?
24 hours anonymous, then auto-delete. Sign in for any expiry up to permanent for markup you want to keep referencing.
General Questions
Is there a subscription?
No. files.link uses prepaid credits, so storage, bandwidth, and API usage are deducted from your balance as you go. The app explains the payment step before uploads are enabled — no monthly subscription and no per-user fees.
What is files.link?
files.link is a developer-first file platform that makes it simple to store, secure, and deliver files globally. It provides signed URLs, public/private access, and an API-first design so you can integrate file delivery into any app without the usual complexity.
How does billing work?
files.link uses prepaid credits. As you use storage, bandwidth, and API requests, credits are deducted daily. When your balance runs low, we automatically recharge it using your saved card. If an auto-recharge doesn't go through, your files and links stay put — you simply update your payment method or top up manually to keep going. No monthly subscriptions — just simple usage-based pricing.
How secure is my data?
All files are encrypted at rest and in transit. You can use signed URLs for private files, control access with permissions, and rely on enterprise-grade infrastructure for data protection.

Related

files.link
Copyright © 2026
All rights reserved
ContactGuidesGlossaryStatusLegal