Can you host an HTML file or a website on Google Drive?
Quick answer
No. Google announced on August 31, 2015 that “web hosting in Google Drive for users and developers will be deprecated,” and that serving pages from googledrive.com/host/ “will be discontinued” on August 31, 2016. Drive today stores the HTML file and shares it as a file. To host it as a web page, drop the same file into Convika's upload box: it opens at its own link, free.
Free plan: no credit card, 1 published page, 50 form entries a month.
On this page
No. Google Drive hosted web pages until 2016 and has not since. Google's Workspace Updates post of August 31, 2015 says “web hosting in Google Drive for users and developers will be deprecated,” and that on August 31, 2016 “serving content via googledrive.com/host/[doc id] will be discontinued.” Read on November 22, 2026.
Drive today stores your HTML file and shares it as a file. To host it as a web page, download the file from Drive and drop it into Convika's free HTML publishing tool, or into the box above: the page opens at its own link in any browser, free, and the link stays the same on every update.
What Google said when it ended Drive web hosting
Drive once served a public folder of HTML, CSS, and JavaScript at googledrive.com/host/ followed by the folder's ID. Google's post gives the reason for ending it: “In the time since web hosting in Drive was launched, a wide variety of public web content hosting services have emerged, and we think better options are available to people today. As a result, we have decided to discontinue this feature and focus on the core Drive and Google Apps experience.”
| Date | What happened, per Google's post |
|---|---|
| August 31, 2015 | “web hosting in Google Drive for users and developers will be deprecated” |
| August 31, 2016 | “serving content via googledrive.com/host/[doc id] will be discontinued” |
A tutorial that tells you to share a Drive folder and open googledrive.com/host/... was written before that date.
What Google Drive does with an HTML file today
Drive keeps the file and shares it. Google's Drive help sets a share link to Anyone with the link: “Anyone on the internet who has the link can open the file without signing in to a Google Account.” What opens is the file in Drive's viewer. Drive's file types help lists .HTML under “Markup/Code,” beside .CSS, .JS, and .PHP: Drive treats it as code to store and preview, and it runs none of it as a page.
| You want | Google Drive | A web host |
|---|---|---|
| Keep the HTML file safe | Yes | Keep the original in Drive |
| Send someone the file itself | Yes, with Anyone with the link | Send the page's link |
| Open it as a working web page at a link | No, since August 31, 2016 | Yes |
| A form that saves what visitors type | No | On Convika, yes |
How to share an HTML file on Google Drive covers the Drive side step by step: the share dialog, what the other person sees, and opening the file in Chrome from Drive.
Where to host the HTML file instead
| Convika | Google Drive | |
|---|---|---|
| Serves the file as a web page | Yes, at yourpage.convika.page | No, since August 31, 2016 |
| What you upload | An .html file, a folder, or a .zip; pasted code too | Any file |
| Opens on a phone in the browser | Yes, in one tap | Opens Drive's viewer |
| Your own domain | 1 on Free, such as www.yourbrand.com | No web hosting |
| Forms | Saves each entry; 50 shown a month on Free | No web hosting |
| Visit stats | 90 days on Free | No web hosting |
Convika hosts HTML pages, each at its own link. It runs the page's scripts, saves what visitors type into its form, and shows where every visitor came from. To keep the page to the people you send it to, choose Private link or Only people with the password as you publish; both come with Pro, with its free trial: 7 days free, then $12 a month, cancel any time before it ends.
Host your HTML file at a web link in 4 steps
1. Download the file from Drive
In Google Drive, right-click the HTML file and choose Download. A page with separate CSS and image files comes down as its whole folder: right-click the folder and choose Download, and Drive hands you a zip.
2. Drop it on the publish tool
Open Convika's free HTML publishing tool, or use the box at the top of this page. Drop the .html file or the zip and click Get my preview link. No account, no email address. When you see “Your preview is ready,” click Copy link and check the page on your phone. Without an account the preview link works for 3 minutes; the next step makes the page last.
3. Keep the page and publish it
Click Keep this page — free, no card and sign up. Click Publish page. Under Who can open this page?, choose Public and click Next. The first time, click Publish free. The page goes live at an address like yourpage.convika.page.
4. Send the link
Paste the published address wherever you used to paste the Drive link. It opens as a web page in any browser, with no Google account and no download. When the file changes, upload the new one on the page's screen and click Publish v2 at the same link.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trialFrequently asked questions
Can I host an HTML file on Google Drive?
No. Google ended web hosting in Drive on August 31, 2016: its post says “serving content via googledrive.com/host/[doc id] will be discontinued.” Drive stores and shares the file. Convika hosts it as a web page at its own link, free.
Can Google Drive host a website?
No. Drive hosted static websites from a public folder until August 31, 2016. For a free website on Google, Google's free website hosting options covers Google Sites and Firebase Hosting; for one HTML file, Convika's publish tool gives it a link in seconds.
Does googledrive.com/host still work?
No. Google's post of August 31, 2015 gave it one more year: “Google Apps customers can continue to use this feature for a period of one year until August 31, 2016.”
Why does my HTML file in Google Drive show code?
Drive lists .HTML under “Markup/Code” in its file types help, so its viewer shows the file as code. A web host runs it as a page: drop the file into Convika's publish tool and open the link.
How do I turn an HTML file in Google Drive into a link that opens as a page?
Download it from Drive, drop it into Convika's publish tool, click Get my preview link, then keep the page and click Publish free. The page opens at yourpage.convika.page for anyone with the link.
Is hosting the HTML file on Convika free?
Yes. Convika Free is $0 with no credit card: 1 live page, 10,000 page views a month, and 1 custom domain.
Sources
Read on November 22, 2026, 10:09 JST (01:09 UTC). Dates in parentheses are the page's own.
- Google: Deprecating web hosting support in Google Drive (August 31, 2015), Share files from Google Drive (no date), Files you can store in Google Drive (no date)
Next step
How to password protect an HTML page or website
A JavaScript password script leaves the password in the page source. To password protect an HTML page or link, encrypt the file or let a server check it.
Related articles
- How do I share an HTML file on Google Drive, or send it as a web page?Share an HTML file on Google Drive: upload it, set it to Anyone with the link, and copy the link. People get the file, not a web page; Convika's free upload box turns it into one.
- How to share an HTML file as a link that opens on any phoneUpload the file to a host and send its link; email and Google Drive send the code. 8 hosts compared, from Convika to Netlify Drop, with 4 steps.
- Does Google offer free website hosting? What's free in 2026Yes: Google Sites, Blogger, and Firebase Hosting's Spark plan host a website at no cost. Google gives no free domain: Google Domains moved to Squarespace.
- Free HTML hosting compared (2026)Convika, Netlify Drop, Cloudflare, GitHub Pages, Vercel, Tiiny Host, and 3 more free HTML hosts compared: sign-up, link expiry, custom domain, forms, stats, and badge.
- How to put an HTML file on a Google Sites pageGoogle Sites takes no .html upload. Paste the code under Insert > Embed > Embed code, use a full page embed, or link a button to the page at its own address.
- How to host or share an HTML file on SharePoint or OneDrive so it opens as a pageCan SharePoint or OneDrive host an HTML page? Both download an .html file or show its code. Use SharePoint's HTML pages, or host it on Convika and share a link.