Upload your HTML file and get a shareable URL. No hosting account, no terminal, no configuration.
Get a public URL in seconds. Free links last 7 days.
You finished building your page. Now you need a URL so someone else can open it in a browser — not a local file path, an actual web address. dochost lets you upload a single HTML file and immediately get a public link you can share. There is no sign-up form blocking you, no DNS to configure, and no build step. Free links stay live for seven days, which is enough time for a review, a submission, or a quick demo. If you need the link to last indefinitely, a paid plan makes it permanent. That is the whole product.
Open dochost — no account needed.
Click Upload and select your HTML file, or drag it onto the page.
Copy the generated URL and share it anywhere; the link works for seven days free, or permanently on a paid plan.
Sarah is three weeks into a coding bootcamp. Her assignment is a single-page personal portfolio: one index.html file with all the CSS written in a <style> block at the top, a short JavaScript snippet that toggles a dark-mode class, and sections for her name, a brief bio, and two project descriptions. The file is about 180 lines long. Everything she built lives in that one file.
Her instructor asked for a live URL by 11 PM so the cohort can peer-review each other’s work. Sarah has heard of GitHub Pages but has not set up a repository for this project and does not want to learn the Pages workflow under a time crunch. She opens dochost, drags her index.html onto the upload area, and within a few seconds she has a URL like dochost.co/d/abc123. She pastes it into the class Discord, her instructor opens it, the dark-mode toggle works, and the page looks exactly as it does when she opens the file locally. The link stays active for seven days — well past the assignment deadline. She did not create an account, did not touch a terminal, and was done in under two minutes.
Uploading and publishing is free with no account required. The catch is straightforward: free links expire after seven days (3 days if published as private). After that the URL stops working and the file is deleted from our servers. There is no surprise charge — the link just goes offline. If you need the page to stay up permanently, a paid plan removes the expiry. There are no bandwidth overage fees or hidden storage costs. The free tier is meant for short-lived sharing: reviews, submissions, quick demos.
dochost publishes one self-contained HTML file per upload. If your project is split across several files — a separate styles.css, an about.html, image assets in a folder — it will not work correctly here. dochost is not a static-site host with a build pipeline; it serves a single page. If everything you need is inlined into one file (embedded CSS, embedded JS, base64 images), it will publish fine. For multi-file projects you would need a service like GitHub Pages or Netlify that understands a directory structure.
Yes. dochost serves your file as a normal HTML document in the browser, so the browser handles JavaScript the same way it would if you opened the file locally. Inline scripts and scripts loaded from public CDN URLs both run. What will not work is anything that requires a backend: server-side code, Node.js, PHP, database calls, or API routes. dochost has no server-side runtime. Pure client-side JavaScript — DOM manipulation, fetch calls to external APIs, UI toggles — works without changes to your file.
Pointing your own registered domain at a single uploaded page is not the focus of the free tier. On paid plans you can set a custom slug — a short, readable path — and Max plans add a custom subdomain. If a fully branded apex domain like portfolio.yourname.com is essential, a host built around custom domain mapping such as Netlify or Vercel is the better fit. dochost is optimized for speed of publishing and sharing, not full hosting customization.
This one, if the draft is a single self-contained file — paste or upload it and it is live at a URL in a few seconds, with no repository, no build step and no DNS. Be clear about the trade-off, though: dochost publishes one HTML document, not a multi-page project with a /css folder and its own routing. If your draft is a folder of files that reference each other, you want a static host like Netlify or Cloudflare Pages instead. If it is one file you need a stakeholder to look at this afternoon, a repository and a build pipeline are a lot of ceremony for a link. If the file is already finished, the HTML file to link converter is the same publish step with the upload box open by default.
الروابط المجانية تبقى 7 أيام مع حساب مجاني. وفي الباقات المدفوعة تبقى كل صفحة تنشئها متاحة بشكل دائم.
اطّلع على الأسعار