Zum Inhalt springen
Blog

Dropbox HTML file not rendering? Host it from a link

Dropbox and Google Drive show an HTML file as code or a download, not a page. Here's why, and how to host the file so a link opens it as a real site.

The Liite team8 Min. Lesezeit

Short answer

Dropbox and Google Drive store files but don't serve them as web pages, so an HTML file opens as code or downloads. Upload the file (or a zip of the whole site) to a host that serves static sites, then share that new link instead of the Dropbox or Drive one.

You shared an HTML file from Dropbox or Google Drive, and the link shows source code, a plain-text view or a download prompt instead of a working page. The search is usually some version of dropbox html file not rendering or host html file google drive.

Nothing is wrong with your file. The service is doing what it was built to do, and the fix is to move the file to something that is a web host.

Why Dropbox and Google Drive won't render your HTML

1. They are file storage, not web servers. A shared link is meant to let someone preview or download a file. When a service sends your .html file in a way that tells the browser to show it as text or save it, the browser does exactly that and never runs it as a page. Microsoft's community answers about OneDrive describe the same thing: users who share HTML get the code back, and one answer says OneDrive isn't a web server.

2. Dropbox ended HTML rendering on purpose. Reddit threads from 2016 and 2017 describe Dropbox turning off HTML rendering through shared links and the Public folder, for free accounts first and paid accounts later. Those threads are where the old advice came from, and much of it points to GitHub Pages. We haven't found a comparable announcement from Google about Drive, so we can't say why it behaves the same way, only that it does.

3. Even a rendered file would break. A real page loads CSS, images and scripts by path. A shared-file link gives every file its own long, separate address, so a relative path like images/logo.png or a root path like /style.css doesn't point at your other files.

4. Public links can be suspended. People on Dropbox's community forum report public links being turned off for "excessive traffic" without saying which link. Dropbox's limits can change, so check its help center. The practical lesson is that file-sharing links aren't meant to carry a page that many visitors load repeatedly.

CauseWhat you seeFix
Service sends HTML as text or a downloadRaw code or a save promptHost the file on a static host
Separate link per filePage opens unstyled, images missingUpload the whole folder or zip together
Public link suspendedLink stops working for visitorsMove the page off file sharing
File needs a server (PHP, database)Form or logic doesn't runUse a host that runs server code

Step 1: Get the site into one folder

  1. Put index.html and everything it uses (CSS, images, scripts, fonts) in one folder.
  2. Keep the same relative paths you use on your computer.
  3. Open index.html from that folder in your browser. If images or styles are missing here, they will be missing online too.
  4. If the page links to other pages, check that each link points to a file that is in the folder.

Step 2: Upload it to a static host

You have three kinds of option.

  • Upload-based hosts. Drop in an .html file, a .zip or a folder and get a link. This is the fastest route for one page.
  • Git-based hosts such as GitHub Pages, Netlify or Cloudflare Pages. They work well, but you need a repository first, which is a lot of setup for one file.
  • Google's own tools. If you must stay inside Google, Google Sites help describes how to add HTML, CSS or JavaScript code to a site with an embed. That is a pasted-code embed inside a Sites page, not the same as publishing your files as they are. Google's Apps Script HTML service guide says HTML can be served as a web app if you write a doGet() function and deploy the script. That suits people who already write Apps Script.

Step 3: Upload on Liite

  1. Sign in, or sign up, and start an uploaded site from the dashboard.
  2. Choose your single .html file, a .zip, or a folder. You can drag and drop.
  3. Liite publishes it at <slug>.liite.site.
  4. Open that address in a private window to see what a visitor sees.

If your zip has everything inside one wrapper folder, Liite strips it automatically, so my-site/index.html works. Files like __MACOSX and .DS_Store are dropped. index.html must sit at the top level or inside that one wrapper. A zip can hold at most 1,000 files.

Tip

Each uploaded site is its own origin, so root paths such as /style.css resolve. Clean URLs also work, so /about serves about.html.

Update every place that still has the Dropbox or Drive link: your Instagram bio, email signature, documents, QR codes and old messages. The old link will keep showing code.

To change the page later, upload again. The address stays the same, and older versions are kept for rollback (3 on Free, 20 on Pro, 100 on Business).

Limits to know before you upload

FreeProBusiness
Size per uploaded site (unpacked)3 MB25 MB500 MB
Price (as of November 2026)$0$8/mo$16/mo
ExpiryOffline 7 days after last publishNoneNone
Search resultsAlways hidden (noindex)Hidden for the first 24 hours onlyHidden for the first 24 hours only

Warning

A Free uploaded site needs a card on file to publish and goes offline 7 days after your last publish. Liite emails you 2 days before, and republishing or upgrading keeps it up. An expired site answers HTTP 410.

Uploaded sites can't run server-side code. If your page needs PHP, Node or a database, it needs a different kind of host. Liite also doesn't deploy from Git and has no upload API, so it's an upload-and-go route, not a build pipeline.

What won't help

  • Changing dl=0 to dl=1 or raw=1 on a Dropbox link. This switches between preview and download. It doesn't turn the file into a rendered page.
  • Renaming the file or its extension. The service still decides how to send it.
  • Pasting the share link into an <iframe>. The file still isn't served as a page, so the frame shows the same thing.
  • Zipping the files and sharing the zip. Recipients can unzip and open it on their own computer, which works for one-off review but gives them no link to a live page.
  • Waiting for rendering to come back. Dropbox switched it off years ago and nothing suggests it is returning.

Checklist before you try again

  • The page opens correctly from a local folder.
  • index.html is at the top level of the zip or folder (or inside a single wrapper).
  • All CSS, image and script files are in the upload, with the same paths.
  • The total size fits your plan's limit.
  • The page needs no server-side code.
  • You tested the new address in a private window.
  • You replaced every old Dropbox or Drive link.

If nothing works

If the new link still shows code, or the page is blank, first open your browser's developer console and look for missing files (404s) or blocked scripts. Missing files almost always mean a wrong path or a file left out of the upload.

For a problem with an old Dropbox link (suspended, "excessive traffic"), contact Dropbox Support. For Drive sharing problems, use Google Drive Help. For an upload problem on Liite, email us through the support link in the dashboard. Include the exact address, what you uploaded (single file, zip or folder), the file size, the time you tried and a screenshot of the console.

Hi, I uploaded a zip of my site (about 4 MB, index.html in the top level)
and the page at <your-slug>.liite.site loads without styles. The console
shows 404 for /css/style.css. I tested at about 14:30 UTC on 30 Nov 2026.
The zip opens correctly from a local folder. Can you check what is missing?
Screenshot attached.

Common questions

Can I host an HTML file straight from Google Drive?

Not as a normal web page. Drive is built to preview and download files. To serve HTML you need a host, or Google tools like Sites embeds or Apps Script web apps, as described above.

Will relative paths like images/logo.png still work after I move the page?

Yes, if you upload the folder or zip with the same structure. On Liite each site is its own origin, so both relative and root-relative paths resolve.

Do I need a custom domain?

No. Your page works at <slug>.liite.site. A custom domain is a Pro and up feature, with one per site, and is covered in the custom domains docs.

Is a Free uploaded site good for a permanent page?

No. It goes offline 7 days after the last publish and is hidden from search. For a page that should stay up, use a paid plan.

If you'd rather not set up a repository

Liite's uploaded sites do what Dropbox and Drive no longer do: you upload a single .html file, a zip or a folder and get a live page at <slug>.liite.site. The details are on the free HTML hosting page, and put an HTML file, a zip or a PDF online walks through the upload. The uploaded sites docs list the file types and limits.