Host HTML, CSS and JavaScript files for free
DropHTML hosts HTML, CSS and JavaScript for $0 with no signup: HTML files up to 10 MB, ZIPs up to 25 MB, and a live address on drophtml.run; Pro is $5/mo. To get your files online together, upload a folder or ZIP containing index.html, style.css and script.js.
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 upload HTML, CSS and JavaScript together
Put your files in one folder
Keep index.html, style.css and script.js together, along with any images or fonts your page uses. index.html is the homepage.
Check the file references
If all three files sit together, your HTML should reference style.css and script.js by those names. Keep any subfolders in the same places your HTML expects them.
Upload the folder or a ZIP
Open drophtml.page and drag your folder or ZIP onto the page, or pick it through the uploader. ZIP bigger folders first: folder uploads have a 10 MB request limit, roughly 7 MB of files, on every plan.
Open your live link
Your upload gets its own HTTPS address on drophtml.run in seconds, and the success screen includes a QR code. Without an account, the browser uploader asks for your email only to send a backup link for claiming the page later; it doesn't create an account or password.
How does DropHTML compare with other free hosts
| Service | Account requirement | Free allowance | Limit to know |
|---|---|---|---|
| DropHTML | No signup to publish | Unlimited uploads, no bandwidth limits | New link for each free upload |
| GitHub Pages | GitHub account and repository | Published sites up to 1 GB | Soft bandwidth limit: 100 GB/month |
| Netlify | Free plan available | 300 credits/month | All projects pause at the limit |
| Cloudflare Pages | Cloudflare account | No bandwidth quota | 500 builds/month |
Why aren't my CSS and JavaScript files loading?
Check the paths first. When index.html references style.css, that means style.css in the same folder as that HTML file. If you've put the stylesheet inside a folder, the reference needs to include that folder too. The same applies to script.js and your images.
Names have to match. File paths are case-sensitive, so Style.css and style.css aren't interchangeable. And uploading only index.html won't upload the separate files it references. Send them together.
A ZIP with a single folder at the top is unwrapped automatically. You can keep your page files inside that folder without moving everything out before uploading.
Tip: Keep the folder layout unchanged when you ZIP it.
What can JavaScript do on a static host?
DropHTML serves your JavaScript files for the browser to run. It also supports HTML, CSS, images, fonts, audio, video, WebAssembly and JSON. Your JavaScript runs in the browser, not as a server-side program on DropHTML.
There's no PHP, Node.js, Python, database or WordPress hosting. Forms need a third-party form service. If your project needs one of those server-side tools, DropHTML isn't the right host for that part.
Client-side routes need some care, too. DropHTML has no single-page-app fallback or custom 404 page, so use hash routes such as #/about for an app that handles navigation in JavaScript.
What's free, and when would I need Pro?
The free plan costs $0, with no credit card, no ads, unlimited uploads and no bandwidth limits. Free pages do show a small Hosted on DropHTML badge, which visitors can close. You can upload up to 100 files at once, with up to 10 uploads a minute. The free ZIP limit is 25 MB, or 100 MB unpacked.
You publish without an account; claim the page with a free account (Google or an email link, no card) and it stays online as long as you keep it. A free page can't be changed at the same address. Upload the changed files and you'll get a new link.
For keeping the same link while you change your HTML, CSS or JavaScript, Pro is $5 a month. You can re-upload or edit without changing the address, pages never expire, and there's no badge. Pro also includes the AI editor with 50 credits a month and 90-day analytics for sources, countries and devices. Unused AI credits roll over up to 100, and free accounts can try the editor too. Billing is monthly, with no yearly plan, and you can cancel anytime.
How does DropHTML compare with other free hosts?
For a folder of files you want online in a few minutes, start with DropHTML. Here's how the free options compare.
GitHub Pages fits if you want to work from a repository. It's free for public repositories on GitHub Free, with a soft limit of 10 builds an hour. It isn't allowed as free hosting for a commercial, e-commerce or SaaS business.
Netlify's free credits have a hard limit and no top-ups. A production deploy uses 15 credits, and bandwidth uses 20 credits per GB. Once credits run out, every project pauses and displays Site not available. Personal costs $9 a month; Pro costs $20 a month.
Cloudflare Pages fits larger file collections within its limits: 20,000 files per site and 25 MiB per file. Cloudflare's docs now suggest starting new projects on Workers.
Questions
Can I update my HTML without changing the link?
A free DropHTML upload gets a new link each time. Pro lets you re-upload or edit the page and keep its address.
Can I use my own domain?
DropHTML doesn't offer custom domains on any plan. Each upload gets an address on drophtml.run.
Will my uploaded page appear in search results?
DropHTML sends a noindex header with every upload and doesn't list uploads publicly. Anyone with the link can open the page.
Why doesn't /about open my about.HTML file?
A file named about.html opens at /about.html. To use /about, put the page at about/index.html instead.
Can I upload a PDF or video by itself?
DropHTML doesn't accept a lone PDF, image or video file. Put it in a folder or ZIP with an index.html file.
Keep reading
- Free website hosting for static HTML
- Host a website for free
- HTML website hosting, free
- DropHTML pricing: free and Pro
Put your page online now
Drop an HTML file, ZIP or folder on DropHTML and get a live drophtml.run link in seconds, free with no signup.