Share HTML

Turn HTML or Markdown into a web link.

HTML2WEB turns one HTML or Markdown file into a shareable web URL. Paste code or upload a file to create a temporary link without an account or deployment setup.

Expires after

Turn HTML or Markdown into a web link.

Answers before you share

How do I turn an HTML file into a URL?

Drop the file above. The share URL appears as soon as publishing finishes—no Git repository or hosting setup is needed.

Can I share Markdown?

Yes. Markdown is rendered to safe static HTML with raw HTML disabled before it is published.

Will my page appear in Google?

No. Share URLs are excluded from sitemaps and served with noindex, nofollow, and noarchive directives.

From a file to a readable link

Share one self-contained HTML or Markdown file without a build step, server setup, or deployment. A paid link can keep the same address when you replace its content.

  1. Choose one UTF-8 HTML or Markdown file, or paste its source. Keep a copy of the original.
  2. Choose the expiry and optional password before creating the link. The default is 1 hour.
  3. Open the generated HTTPS URL, check its layout and interactions, then copy the share URL. Keep the management URL to yourself.

Try a real sample

Small test files with no customer data or external dependencies.

This preview loads the same HTML file you can download. It contains its own CSS and JavaScript and makes no external requests. It is a local sample preview, not a published share.

HTML sample (680 bytes, UTF-8)
<!doctype html><html lang="en"><meta charset="utf-8"><meta name="robots" content="noindex,nofollow"><meta name="viewport" content="width=device-width"><title>HTML2WEB sample</title>
<style>body{margin:0;padding:24px;font:16px/1.6 system-ui;color:#24364c;background:#f1f6fc}h1{margin:0 0 8px;font-size:22px}button{padding:8px 14px;border:1px solid #9aacc5;color:#24364c;background:white;font:inherit}p{margin:8px 0}</style>
<h1>One file, one link</h1><p>This sample includes its styles and script.</p><button id="counter" type="button">Count: 0</button><script>let count=0;document.getElementById('counter').onclick=function(){this.textContent='Count: '+(++count)}</script></html>

Check it: the counter starts at 0. Press the button once and it should show 1. Reload the preview to reset it; the sample does not save the count.

Download the sample and upload it in the tool above to test your own link. Choose its expiry first, then open the generated URL in another browser and repeat these checks.

Before you share
Supported filesOne HTML or Markdown file (.html, .htm, .md, or .markdown).
Source sizeFree: 1 MiB (1,048,576 bytes). Pro: 10 MiB (10,485,760 bytes). Limits apply to the UTF-8 source, including embedded images.
Public accessWithout signing in, choose 30 minutes, 1 hour, or 24 hours before publishing; the default is 1 hour. Signed-in free accounts also allow 7 days, and Pro accounts allow 30 days. Available options follow your account permissions.
Who can open it?Anyone with the URL can open it unless you set a password. Passwords are limited to 128 characters; some emoji count as more than one. noindex asks search engines not to list it; it is not access control.
After expiryPublic access ends. Source and file metadata may remain under the retention policy until deletion, account deletion, or the end of the retention need. First-party product-measurement events become eligible for automatic deletion after 90 days; batch cleanup can lag. This is separate from source and transaction-record retention.
Paid linksReplace HTML or Markdown without changing the URL or spending another credit. Link statistics count recorded viewer-open sessions, not verified people or reading completion. Checkout depends on provider configuration.

Should I use HTML or Markdown?

Scroll sideways to read every column.

FeatureHTMLMarkdown
File extensions.html, .htm.md, .markdown
Assets and scriptsInline CSS, inline JavaScript, inline SVG and data images work. External images, script and font CDNs, fetch requests and embedded frames are blocked in the HTML viewer. Relative files are not included in a single-file upload.Markdown becomes static HTML. HTTPS images are allowed, subject to the image host's availability. Raw HTML is escaped and scripts do not run. A relative image still needs its own reachable address.
Use it forSelf-contained interactive mockups, reports, and prototypes.Readable notes, documentation, lists, and tables.

Prepare the file and understand its access rules

  • WHATWG HTML: the <style> element — This element holds CSS inside an HTML document. Include styles in your HTML2WEB file instead of relying on a separate stylesheet.
  • WHATWG HTML: the <script> element — JavaScript can be embedded in HTML. HTML2WEB allows inline scripts in its isolated HTML viewer, but blocks external script URLs.
  • MDN: data URLs — A data URL embeds a small file directly in a document. Embedded image data counts toward your HTML2WEB source-size limit.
  • W3C: CSP 3 working draft — CSP controls which resources a browser may load. HTML2WEB's HTML viewer blocks remote resources, network requests, and embedded frames.
  • Google Search Central: noindex — This rule requests exclusion from search indexing. HTML2WEB serves it on shared pages; set a separate password when you need to restrict who can open the link.
  • Unicode: UTF-8 encoding — Character count is not byte size. In UTF-8, A takes 1 byte, 가 takes 3 bytes and 🙂 takes 4 bytes. The source-size limit uses the complete encoded file.

When the result looks different

Why can’t another person open my file:// address?

That address points to your computer. Publish the source and share the generated HTTPS link instead. Why can’t another person open my file:// address? ↗

Why are images or scripts missing?

HTML runs in an isolated viewer with remote resources and network requests blocked. Relative files are not uploaded alongside it. Keep styles, scripts, and images inside the source.

Why doesn’t raw HTML run in Markdown?

Markdown renders as safe static HTML. Raw HTML and scripts do not execute; use HTML input for a self-contained interactive page.

Service policy — Checked: