Guide
How to host HTML generated by Claude, Lovable or bolt
Updated · Dropsite
Short answer: Save Claude's output as one self-contained index.html, or export a Lovable or bolt project, build it and zip the dist folder. Drop the file or ZIP on Dropsite and you get a shareable link in seconds, with no account, Git or deploy settings.
AI tools are great at producing pages, but they leave you with a file or a project, not a link. This guide gets you from one to the other.
Claude: ask for a single file
Single-file pages are the easiest to host. Add this to your prompt:
When the artifact looks right, download it (or copy the code into a text editor) and save it as index.html. Make sure your editor does not add .txt to the end.
Then drop index.html on Dropsite. You get a link like k7m2xq.dropsiteusercontent.com.
Lovable and bolt: export, build, zip dist
- Export the project (download as ZIP or push to GitHub and clone it).
- In the project folder run
npm installand thennpm run build. - Open the
distfolder (sometimesbuildorout). You should seeindex.htmland anassetsfolder. - Select everything inside dist and compress it. On macOS: right-click → Compress. On Windows: right-click → Send to → Compressed folder.
- Drop the ZIP on Dropsite.
Zipped the dist folder itself instead of its contents? That's fine too: if the ZIP has exactly one folder with index.html inside, Dropsite unwraps it for you.
If links inside the app go to a blank page, the app is using client-side routing. Switch the router to hash mode (URLs like /#/about) before building, or keep the app on a single page.
What static hosting can and cannot do
| Works | Does not work |
|---|---|
| HTML, CSS, JavaScript, images, fonts, PDFs | Server code (Node, Python, PHP) |
| Calls to public APIs from the browser | Databases running next to the page |
| Supabase or Firebase with public (anon) keys | Secret API keys — anyone can read them in the page source |
| Hash-based routing | Server-side rendering and API routes |
Limits on Dropsite: 10 MB per upload on Free (50 MB on Pro), up to 500 files and 50 MB unpacked per ZIP.
Try it now
Drop your HTML, ZIP or PDF and get a live link in seconds. No account needed.
Go to the dropzoneFrequently asked questions
How do I download HTML from Claude?
Ask Claude to put the whole page in one HTML file, then use the download or copy button on the artifact and save it as index.html.
How do I host a Lovable or bolt project?
Export or download the project, run the build (npm run build), then zip the contents of the dist folder so index.html sits at the top of the ZIP, and drop the ZIP on Dropsite.
Will a page with a backend work?
Only the front end. Static hosting cannot run server code, a database or secret API keys. Calls to public APIs from the browser still work.