Host the HTML code ChatGPT wrote
DropHTML hosts ChatGPT's HTML for free ($0, no signup), takes HTML files up to 10 MB and ZIPs up to 25 MB, and puts each page on its own address on drophtml.run; Pro is $5/mo. Copy the complete HTML document from ChatGPT, paste it into drophtml.page, and publish it to get a working link.
A file. A folder. A fresh start.
Your static site, one link away.
Uploading publishes your file. The link is public but unlisted, not password-protected, so leave out secrets and confidential content.
- Free plan: no signup, no card, no ads
- $0
- Largest HTML file, the same on every plan
- 10 MB
- Free ZIP limit (100 MB unpacked, 100 files)
- 25 MB
- No expiry or badge, same link, AI editor, analytics
- $5/mo Pro
How to publish HTML code from ChatGPT
Copy the whole HTML document
Copy the code itself, not ChatGPT's explanation or the formatting marks around the code block. Check that you have the document from its opening HTML declaration through its closing HTML tag.
Check that it's a self-contained page
The CSS and JavaScript should be inside the HTML, with no separate local files needed. If ChatGPT gave you several files or a React component, ask it to rewrite the page as one self-contained HTML document.
Paste or upload it to DropHTML
Open drophtml.page and paste the HTML, or save the code as index.html and drag the file onto the page or select it. When you upload without an account, the browser uploader asks for an email address only to send a backup link for claiming the page later; it doesn't create an account or password.
Open your link and claim the page
Your upload gets an HTTPS address on drophtml.run in seconds, and the success screen includes a QR code. You publish without an account; claim the page with a free account (no card) and it stays online as long as you keep it.
Prompt for a page you can publish
Prompt
Build [what the page is for] as one self-contained index.html file. Put all the CSS in a style tag and all the JavaScript in a script tag, with no build step, no React components and no separate files. Use [your text, colors and sections] and make it work well on phones.
Paste the answer into DropHTML as it is, or save it as index.html and upload the file.
Should I use GitHub Pages or Netlify instead
| Host | What you publish | Account requirement | Important limit |
|---|---|---|---|
| DropHTML | HTML, ZIP or folder | None to publish; free account to claim | Free updates get a new link |
| GitHub Pages | Files in a repository | GitHub account required | Business hosting restrictions |
| Netlify Drop | HTML, ZIP or folder | None to start; account to claim | Unclaimed sites are password-protected |
Why isn't my ChatGPT page working?
Check the code before changing hosts. If ChatGPT stopped partway through its answer, the code may be incomplete. Ask it for the complete HTML document, then replace the incomplete copy rather than publishing that fragment again.
A React component isn't a ready-to-publish HTML file. If the output starts with import lines and includes export default, DropHTML won't build it when you paste it. Ask ChatGPT: "Rewrite this as one self-contained HTML file with the CSS and JavaScript inside it." Copy the rewritten document.
Missing images need a separate check. If the HTML refers to image files that weren't uploaded, include those files with the page in a folder or ZIP. DropHTML accepts folders and ZIPs as well as HTML files; you don't have to squeeze every project into one file. For a single-file version, ask ChatGPT to remove the need for separate local files.
What do I get without paying?
DropHTML's free plan costs $0, with no signup required to publish, no credit card, no ads, unlimited uploads and no bandwidth limits. Free pages show a small "Hosted on DropHTML" badge that visitors can close. There's no public directory of uploads.
The free upload limits are:
You can claim a page through a free account using Google or an email link. A free page can't be changed at its existing address: uploading a revised version gives you a new link.
- An HTML file up to 10 MB, the same limit on every plan.
- A ZIP up to 25 MB, or 100 MB after unpacking.
- Up to 100 files in an upload.
- Up to 10 uploads a minute.
Should I use GitHub Pages or Netlify instead?
For a complete HTML page you want to share now, DropHTML is the main recommendation here. GitHub Pages fits better if you want to publish from a GitHub repository and your use meets its hosting rules. It requires a GitHub account and a repository.
GitHub Pages is free for public repositories on GitHub Free. Published sites can be up to 1 GB, with a soft bandwidth limit of 100 GB a month and a soft limit of 10 builds an hour. It isn't allowed as free hosting for a commercial, e-commerce or SaaS business.
Netlify Drop also accepts a single HTML file, folder or ZIP. But a drop published without signing in stays behind a temporary password until you claim it with a Netlify account. Netlify's blog says unclaimed drops expire on their own.
Can I change the page without changing the link?
On DropHTML Pro, you can re-upload or edit a page and keep its existing link. Pro costs $5/mo, billed monthly, with no yearly plan, and you can cancel anytime. Pro pages never expire and don't show the badge.
Pro includes the AI editor with 50 credits a month: describe a page or a change in plain words. Unused credits roll over up to 100, and free accounts can try the AI editor too. You also get 90-day analytics covering sources, countries and devices, plus password protection and the ability to restore expired pages to the same link.
Questions
Can I paste ChatGPT code without saving a file?
Yes. Paste a complete HTML document into DropHTML at drophtml.page, or save it as index.html and upload that file.
Can my ChatGPT app use a database?
DropHTML serves static files, not your own server code, databases or API routes. An app that calls hosted services from the browser can run there; an app with its own backend needs a host that runs code.
Will forms work on my page?
Forms on DropHTML need a third-party form service. DropHTML doesn't run PHP, Node.js or Python.
Will my page show up in search?
DropHTML sends every upload with a noindex header asking search engines to leave it out. Uploads aren't publicly listed, but anyone with the link can open the page.
Can I use my own domain?
DropHTML doesn't offer custom domains on any plan. If a custom domain is required, you'll need another option.
Keep reading
- ChatGPT to website: publish the code it wrote
- Publish a website made in ChatGPT canvas
- Turn a Claude artifact into a website
- Preview AI-written HTML before you publish
Publish your AI-made page
Paste the HTML from ChatGPT, Claude or Gemini into DropHTML and get a live drophtml.run link in seconds, free with no signup.