Upload a .html file or paste the markup and get a clean, shareable URL in seconds — no server setup, no attachment headaches.
Drop a .html file or paste the markup — get a shareable link. No account needed to start. Free links last 7 days.
Direct answer: upload your .html file (or paste the HTML) into dochost and you get a public link that opens the rendered page in any browser — no account required to start.
| Free | Pro ($7/mo) | |
|---|---|---|
| File size | 1 MB | 10 MB (Max: 50 MB) |
| Link lifetime | 7 days public / 3 days private | Permanent |
| Live pages at once | 10 | 200 (Max: unlimited) |
| Extend before expiry | From $2.99 for 30 days | Not needed |
| Account to start | No | Optional |
When you have a finished HTML file sitting on your desktop, sending it as an email attachment is a bad idea. Recipients on phones cannot open it, and most email clients block local file downloads outright. If you have been wondering how to share an HTML file as a link instead of a dead attachment, this is it: dochost acts as a straightforward HTML file to link converter — you upload the file or paste the markup, we host it, and you get back a URL anyone can open in a browser. The file renders exactly as it would locally — inline styles, embedded images, scripts included. For a longer walkthrough of five ways to share HTML, see How to share an HTML file as a link.
Upload your .html file, or paste the full markup into the card above. Self-contained documents (styles and scripts included) work best.
Check the live preview — what you see is what recipients will see on any device.
Create the link and copy it. Free public links last 7 days (3 if private); extend from $2.99 or upgrade for a permanent URL.
Maya is a freelance email designer. She has spent two days building a promotional newsletter for a skincare brand: animated GIF header, product grid with inline table layout, a footer with unsubscribe copy. Her email tool exports the finished design as a single file, campaign.html, with all styles inlined and every product image pointing to the brand’s CDN. The client needs to approve the visual before Maya loads it into their ESP.
Sending the raw .html file as an attachment is useless — the client’s marketing manager reviews everything on her iPhone, and iOS Mail will not render a local HTML attachment the way a real browser would. A screenshot will not cut it either; the client specifically wants to scroll through the email at actual size.
Maya opens dochost, drags campaign.html onto the upload card, and gets a URL in about three seconds. She pastes it into her approval message on Slack. The client taps the link on her phone, sees the newsletter rendering correctly — GIF playing, product images loading, fonts intact — and replies with a green light. Maya never had to spin up a staging server or zip anything. The link is live for seven days, which is more than enough time to get sign-off and send the campaign.
This search is four different jobs wearing the same words, and they do not all end on this page. Pick the one that matches what is actually on your screen.
There is a file on your desktop and you want a URL for it.
This page, and the card above. Drag the file in, get a link back in a few seconds, send the link. Nothing is installed and no account is needed to start.
You have markup in your clipboard — from an AI chat, an editor, or a snippet — and never saved it.
Same page. Switch the card to paste, drop the markup in, and publish — you get the same hosted URL without saving a file first. That is the usual shape when the HTML came out of ChatGPT or Claude.
It is a real project directory — index.html plus /css, /js and /images.
This is the branch that does not end here. The uploader takes one file, so a folder loses its stylesheet and images. Either inline the assets into a single self-contained HTML file first, or use a host built for directory deploys.
Hosting a multi-file appIf the project came out of an AI builder, ask it for a single self-contained HTML file — most will produce one on request, and then this page works.
The link is going somewhere permanent — a CV, a README, a business card.
Then the seven-day free link is the wrong product. A paid plan keeps the URL online indefinitely, and you can also extend a page you already published from $2.99 before it lapses.
Plans that keep the linkYou have a URL and you want the HTML or Markdown out of it.
That is the reverse job and it has its own tool — fetch the page and get clean Markdown back, rather than trying to make a link out of something that already is one.
URL to MarkdownNumbers from the live plan limits (1 MB free / 10 MB Pro / 50 MB Max; 7-day free public links; extend from $2.99). They are the same caps the upload panel and pricing page enforce.
| Free | Pro ($7/mo) | |
|---|---|---|
| File size per page | 1 MB | 10 MB (Max plan: 50 MB) |
| Link lifetime | 7 days public / 3 days private | Permanent |
| Live pages at once | 10 | 200 (Max: unlimited) |
| Extend a free page | From $2.99 for 30 days | Not needed — links do not expire |
| Custom slug / password / no branding | No | Yes |
| Account required to publish | No | No (optional for the dashboard) |
Pick Free when the link has a natural shelf life — a review, a demo, a client approval. Pick Pro when the URL has to stay forever, needs a password, or will outgrow 1 MB. A multi-file site with a /css folder still belongs on Netlify or GitHub Pages, not here.
Yes. dochost serves the file as uploaded, so anything baked into the HTML itself — inline CSS, base64-encoded images, data URIs, and any src attributes pointing to public CDN URLs — renders in the viewer’s browser just as it would locally. We do not strip or rewrite styles. The only thing that will not work automatically is content that requires a separate file we did not receive, such as an external stylesheet you left in a /css folder next to the HTML.
Yes. Free (and anonymous) pages are capped at 1 MB. Pro raises the cap to 10 MB; Max to 50 MB. If your file is large because of base64 images, host those images externally and reference them by URL — that also makes the page load faster. See Free plan limits explained.
It shows a viewable webpage. When someone opens the link, their browser renders the HTML just like any other website — they see the page, not a download prompt. There is no download button shown to viewers by default. This is intentional: the whole point is to give someone a URL they can tap and read, not an attachment they need to save and open locally. Recipients cannot edit the page; the public link is read-only.
Upload it here (or paste the markup) and send the URL you get back. No mail client renders an .html attachment inline — the recipient gets a file to download, and that is where it breaks on phones and locked-down work laptops. A link asks them to tap instead. For five options side by side, see How to share an HTML file as a link.
A free public link stays live for 7 days (3 days if published as private / link-only). You can extend a single page from $2.99 for 30 days before it expires, or upgrade to Pro for permanent links on every page. Views are unlimited on every plan. This is a hosted-page link, not an <a> tag builder.
免費帳號的連結保留 7 天。升級付費方案後,你建立的每個頁面都會永久上線。
查看方案與價格