Google Drive · Alternatives

Can you host a website on Google Drive?

Many tutorials still say you can. They were written before 2016. Here is what changed, and the simplest way to get the HTML files sitting in your Drive online today.

In short

No, you cannot host a website on Google Drive any more. Google announced in August 2015 that it was ending Drive web hosting and switched it off on 31 August 2016, so googledrive.com/host links no longer work. Today, use Google Sites to build a simple site, GitHub Pages for free static hosting, or download your Drive folder as a ZIP and upload it for a live link.

For a few years, you could put HTML files in a public Google Drive folder and share a link that opened them as a working website. A lot of old blog posts and YouTube videos still teach that method, so it is a common search. It no longer works, and has not for years. This page explains what happened, what you will see if you try now, and the alternatives that actually work.

Key takeaways

  • Google ended website hosting from Drive on 31 August 2016, after announcing it in August 2015.
  • Sharing an HTML file from Drive today shows a file preview or a download, not a working web page.
  • Google Sites is Google's own free website builder, but it does not run your HTML files as a site.
  • To put existing HTML files online, download the Drive folder as a ZIP and upload it to a real host.

What happened to Google Drive web hosting

Google deprecated the feature in 2015 and turned it off completely in 2016. Since then, links in the old googledrive.com/host/ format have stopped working.

The feature let you make a Drive folder public and serve its HTML, CSS and JavaScript as a static website. In its announcement on 31 August 2015, Google said that many dedicated web hosting services now existed and that it wanted to focus Drive on storing and sharing files. It pointed developers to its other products for static websites, and a year later, on 31 August 2016, the hosting stopped.

What you see if you try it today

If you upload an index.html file to Drive and share it, Drive treats it as a document, not a website. Depending on the device, visitors see a preview of the code, a "no preview available" message or a download button.

Your CSS and images do not load alongside it, and links between pages do not work, because Drive is not serving files the way a web server does. Some third-party services have offered to publish websites from a Drive folder. They rely on their own servers and on Drive's programming interface, so check that any such service is still maintained, and remember that the address it gives you belongs to them.

Alternatives that actually work

The right replacement depends on whether you already have HTML files or want to build a simple site from scratch. These are the realistic options as of November 2026; check each provider's current terms before you rely on it.

OptionWhat it isCostGood for
Google SitesGoogle's drag-and-drop site builder, using your Google accountFreeSchool projects, simple info pages, team sites, when you do not have HTML files
GitHub PagesFree static hosting from a GitHub repository, at yourname.github.ioFree for public repositoriesPortfolios and project pages; not for commercial or e-commerce sites
Our upload toolDrop a folder, ZIP or HTML file and get a live linkFree, no accountGetting your existing Drive files online in seconds, for 4 hours, or 24 hours with a confirmed email
cPanel hostingPermanent hosting with your own domain, email and PHPFrom ₹900 a year plus GSTA business or long-term site

Google Sites: the closest Google option

Google Sites is the nearest thing to "a website from Google", and it is genuinely useful. You build pages in the browser by dragging in text, images, Drive files, YouTube videos, Docs and Sheets, and publish them on a sites.google.com address. Google Sites can also be connected to a domain you own; Google's help pages explain the current steps.

The limit is that it is a builder, not a host. You cannot upload a folder of your own HTML, CSS and JavaScript and have it run as the site. You can embed small pieces of HTML, but the design is Google's templates. If you have no code and need something tidy quickly, it is often the better choice than anything on this page.

Moving your Drive folder to a real host

If your website files are already in Drive, you do not need to rebuild anything. Download them and upload them somewhere that serves websites.

  1. In Google Drive on a computer, right-click the folder that holds your site and choose Download. Drive packs it into a ZIP file.
  2. Open the ZIP and check that the home page is called index.html and that images and CSS files are inside it.
  3. Open our upload page and drop the ZIP. If everything is inside one top folder, that is fine.
  4. Copy the live link and test it on your phone. Confirm your email address to keep it for 24 hours rather than 4.

Uploads can be up to 20 MB and 300 files. If your ZIP is larger, large photos are the usual cause; resizing them fixes it. If any image paths still point at Drive sharing links, replace them with the image files themselves, since Drive links are not designed for embedding images in web pages. Our page on hosting an HTML file online lists the other path mistakes to check.

For a permanent address, upload the same files to a hosting plan's public_html folder and connect a domain. Our cPanel hosting includes free SSL and email on your domain, and the server is in the USA.

What Google Drive is still good for

Drive is a poor web host but remains a handy companion to a website. Use it for what it was built for.

  • Backups: keep a dated copy of your website files and database export.
  • Working on content together: draft page text in Google Docs with your team before it goes on the site.
  • Large downloads: share a big brochure or price list from Drive and link to it from your site.
  • Handing files to your web designer: photos and logos in a shared folder are easier than WhatsApp.

If you only need a free, permanent site

For a personal or student site, a free platform is a fair choice. GitHub Pages lets you upload files through the GitHub website without using Git on the command line, and there are other free static hosts too. Our guide to hosting a website for free compares them, including what each one will not let you do.

Frequently asked questions

Can I still host a website on Google Drive?

No. Google ended Drive web hosting on 31 August 2016 after announcing the change in August 2015. HTML files shared from Drive now open as file previews or downloads, not as working websites. Use Google Sites, GitHub Pages or a regular web host instead.

Why do old tutorials say Google Drive can host websites?

They were written between roughly 2013 and 2016, when Drive could serve a public folder as a static website through googledrive.com/host links. Google switched that off in 2016, so those steps no longer work. Check the date on any tutorial before following it.

Is Google Sites the same as hosting on Google Drive?

No. Google Sites is a free website builder where you design pages from Google's templates and blocks. It publishes the site for you, but it does not run your own HTML, CSS and JavaScript files as a website. For your own code, you need a host that serves files.

How do I move my website from Google Drive to a host?

Right-click the folder in Drive and choose Download, which gives you a ZIP. Check index.html is inside, then upload the ZIP to our free upload page for a live link, or extract it into public_html on a hosting plan for a permanent site at your own domain.

Can I link images on my website from Google Drive?

It is unreliable. Drive sharing links are designed to open files in Google's viewer, not to be embedded as images in web pages, and they can stop displaying without warning. Upload images alongside your HTML files instead and use relative paths such as images/photo.jpg.

WhatsApp