No. Google ended web hosting from Google Drive on 31 August 2016; HTML files shared from Drive now download or display as code. Dropbox and OneDrive behave the same way. To host an HTML page, use an HTML to URL converter for a quick link, or GitHub Pages / Cloudflare Pages for a permanent free site.
What changed
Drive used to have a googledrive.com/host/… address that served files in a public folder as a website. Google announced its deprecation in 2015 and switched it off in 2016. Dropbox's Public folder, which could also serve HTML, was retired around the same time. The reason is the same in both cases: serving user HTML from a big company's domain lets anyone run scripts and build convincing phishing pages there.
What happens if you try today
- Google Drive: the share link opens Drive's preview, which shows the source code, or prompts to download.
- Dropbox: shows a code preview or downloads the file.
- OneDrive / SharePoint: downloads the file; SharePoint libraries may block
.htmlentirely. - Google Sites: can embed snippets of HTML in a box, but not host your HTML file as the page.
What to use instead
| Need | Use | Why |
|---|---|---|
| Share a page today, no setup | HTML upload on an HTML to URL converter | Upload → link in seconds, works from a phone |
| Free permanent site | GitHub Pages or Cloudflare Pages | Free forever, custom domain; needs an account and setup |
| Team-only internal page | Converter with a password, or your company intranet | Keeps it off the open web |
| Interactive form that writes to Sheets | Host the HTML anywhere + Google Apps Script web app as the backend | Drive cannot serve the page, but Apps Script can receive the data |
Paste code or drop a file, ZIP or folder. Free plan, custom address, password & editing included. Get a URL
What about Google Apps Script?
Apps Script's HtmlService can serve HTML from a script's web-app URL, and it is a legitimate free option if you already work in Google Workspace. It wraps your page in an iframe with a Google banner, has its own quirks with links and scripts, and requires you to paste the HTML into a script project — fine for internal tools, clumsy for sharing a page someone sent you.