HTML to URL in seconds: paste your HTML or upload an .html file and get a working URL — an HTML to link you can open and share.
Turn it into a working URL — no hosting setup, free for 7 days.
An HTML file on your computer is invisible to everyone else. Doing HTML to URL the traditional way — some search it as url to html — means you commit it to a host, wait for a build, and hand out a long path: far too much ceremony when you just want a link to one page. Paste your HTML here, or upload the .html file, and you get a working URL immediately: a real address that renders the page in any browser. Every HTML to URL link dochost creates is a real, hosted HTML host page — the fastest path from a file:// on your machine to a link you can put in a message.
Paste your HTML into the box above, or upload an .html file. The whole document — doctype, head, and body — is accepted.
The preview turns the markup into the rendered page on the spot, so the URL you are about to create is exactly what you are looking at.
Create the link. You get a clean URL that anyone can open; no one needs the original file, an editor, or your machine to view it.
A developer exports a static dashboard from a build tool — one self-contained HTML file with charts drawn by inline JavaScript. A teammate in another timezone needs to review it, but emailing the file means they have to download it, trust it, and open it locally, which half the time renders blank. Instead the developer pastes the HTML into dochost and gets a URL back. They drop it into the pull-request thread: “Static preview of the dashboard — open the link, no checkout needed.” The reviewer clicks, the charts render in their browser exactly as they did on the developer’s machine, and they leave comments without ever cloning the branch. The HTML went from a file nobody could safely open to a URL anyone could, in one paste.
Three steps, whichever form your HTML is in: put it in the box above, press Get my link, copy the link. The only thing that changes is what you start with.
The page is saved on your computer or phone as a file.
Drop the file onto the box above, or use browse to pick it. Press Get my link and you get a URL anyone can open in their browser. The file itself stays the same; the URL is a hosted copy of it.
You have the markup as text — copied from an editor or an AI chat.
Paste the whole document into the same box and press Get my link. There is no need to save it as a file first; the link serves exactly what you pasted, scripts and styles included.
Your page is index.html plus separate CSS, JS or image files.
One URL here serves one self-contained document, so linked files next to it on disk will not come along. Inline the CSS and JS into the HTML, or use the guide for multi-file projects.
Host a multi-file appAny self-contained HTML: a full document with <!doctype html>, a fragment, a page with inline styles and scripts, an exported report, or an email template. As long as the markup carries what it needs to render, it becomes a working URL.
By default a free URL is temporary — it stays live for 7 days, and you can extend it before it expires — which suits review links and drafts. If you need a URL that never expires, a paid plan makes any link permanent and lets you set a custom slug.
Yes, if they are referenced by a public URL — a CDN link to a framework or font will load when the visitor opens the page. What will not load is a file path that only exists on your computer, so inline anything local before you create the link.
Completely. You do not edit or write anything — you paste finished HTML or upload the file, and the URL is generated from it directly. It is meant for the moment you already have the HTML and just need it on the web.
It is a real, public web page on its own URL — not a preview pane and not a sandbox that dies when you close the tab. Whoever you send it to opens it in their own browser, on any device, with no account and nothing to install. Scripts in your file run, buttons and forms work, and the page can keep data in the browser between visits. What it is not is a multi-page site on your own domain: one link is one page, served from a dochost address unless you bring a domain on a paid plan. For a single self-contained file that is usually exactly what you wanted — if you expected the multi-page version, start at publish an HTML website free.
Links gratuitos duram 7 dias com uma conta gratuita. Em um plano pago, cada página que você publica fica online permanentemente.
Ver preços