Share an HTML file with someone
Emailing an .html file rarely works: mail apps block attachments with scripts, phones open them as text, and images next to the file don't come along. A link opens the page as you made it, on any device.
- Send the link, not the file. The address works in every browser and chat app, and anyone can open it without an account.
- Change it after sending. Drop the new version on this page in the same browser and press Update: the link you sent shows the new version.
- Make it last. A temporary link is removed after 6 hours. Keep the site in a free account and the link stays, or put it on your own domain.
Host HTML from ChatGPT or Claude
AI assistants write whole pages as one HTML file. Copy the code, switch the box above to Paste HTML, check the preview beside it and publish. The guides for Claude artifacts and ChatGPT cover what to ask for so the page works on its own. An agent with a terminal can publish it for you: ask it to run npx lobsite, or connect the Lobsite MCP server.
One HTML file, or a whole site
- A single page. If the file isn't called
index.html, it's published asindex.html, so it opens at the site's address instead of showing "Not found". Styles and scripts inside the file work as they are. - A page with images and CSS. Drop the folder, not just the HTML. Links like
src="img/logo.png"keep working because the folder's layout is kept. If the folder has a single folder inside it, that inner folder becomes the top of the site. - A zip. Drop the
.zipitself; it's opened in your browser and published as its contents. To see what's inside first, and why a file would be left out, use the ZIP Viewer. - Pasted code. Switch the box to Paste HTML to see the page beside the code before you publish. The HTML Viewer adds phone and tablet widths and opens a file from your computer.
Every other .html file becomes a page at its own path: about.html opens at /about.
What gets left out of an HTML upload
A site without an account can have up to 100 files, 5 MB per file and 50 MB in total; this page sends up to 25 MB at once. Secret files (.env, private keys and similar) are always left out, and so are PDFs and executables, which need the paid plan. Sites without an account aren't indexed by search engines. Every number is on the limits table.
Host HTML from a terminal
The Terminal or agent tab in the box has a curl command that uploads one file and answers with the URL, when the site expires and the claim link:
curl --data-binary @index.html https://lobsite.com/api/v1/drop
For a folder, npx lobsite deploys it and remembers the site in lobsite.toml, so the next run updates the same address and uploads only the files that changed. AI agents get the same three things with every deploy, as next_steps in the API and a "Tell the user" line from the CLI; the agent and API docs list them.
HTML hosting: Lobsite vs GitHub Pages vs Netlify Drop
| Lobsite | GitHub Pages | Netlify Drop | |
|---|---|---|---|
| Account before the first link | No: live for 6 hours, then keep it free | Yes, and a repository | No: claim it within the window |
| How you publish | Drop a file or folder, paste HTML, or one command | Commit and push, then turn Pages on | Drop a folder |
| Forms without a backend | Yes, once the site is in an account | No | Yes (Netlify Forms) |
| Custom domain | Yes, free | Yes, free | Yes, free |
| Sites on the free plan | 1 | One per repository | Several |
GitHub Pages and Netlify are the better fit if you want builds from Git. Lobsite is the quickest from a file to a link, and the same site keeps working with npx lobsite once it grows.
HTML hosting FAQ
How do I turn an HTML file into a link?
Drop the file on the box at the top of this page and press Publish it. A few seconds later you have an https:// address to copy and send. No account is needed.
Is it free to host an HTML file here?
Yes. Publishing without an account is free and lasts 6 hours. Keeping the site is free too: a free account holds one site, with 10 GB of bandwidth a month.
How long does the link to my HTML file last?
Six hours without an account; the box shows the time it's removed, in your time zone. Press Keep this site free → and sign in or sign up, and the same link stays for good.
Do I need an account?
Not to publish. You need one only to keep the site past 6 hours, and signing up is free.
Can I put my HTML page on my own domain?
Yes, once the site is kept: a free account includes one custom domain. Add it on the site's Domains page, set one DNS record, and HTTPS is set up for you.
Is my page public, and will search engines find it?
Anyone with the link can open it. Sites without an account aren't indexed by search engines; once the site is in your account, it can be.
Why does my page show "Not found"?
The site's address opens index.html. A single file is renamed for you, but a folder needs an index.html at its top. Rename the main page, or drop the folder that contains it.
Can I update the page after publishing?
Yes. Drop the new version on this page in the same browser and press Update: the same address shows the new version. Once the site is in your account, deploy changes from the dashboard or with npx lobsite.
Can I host a PDF or a file to download?
Not on the free plan or without an account: PDFs and executables need the paid plan, which is coming soon. HTML, CSS, JavaScript, images and fonts all work.