Clear search
Close search
Google apps
Main menu

Host web pages with Google Drive

Note: This feature will not be available after August 31, 2016.

You can host webpages with Google Drive until August 31, 2016. After that, will no longer work.

Publish webpages with Google Drive

You can make web resources like HTML, CSS, and Javascript files viewable as a website with Google Drive.

Note: Google Drive does not support web resources that use server-side scripting languages, like PHP.

  1. Go to
  2. Select a file.
  3. At the top, click Share.
  4. At the bottom right of the sharing box, click Advanced.
  5. Click Change…
  6. Click On - Public on the web and then Save.
  7. Copy the document ID in the field below "Link to share." The document ID is made up of numbers, uppercase letters, and lowercase letters between slashes in the URL.
  8. Share the URL that looks like "[doc id]. Anyone can now view your webpage.
    • Note: [doc id] represents the document ID you copied earlier.

Evan is a Docs & Drive expert and author of this help page. Leave him feedback below about the page.

Was this article helpful?
Watch video tutorials

To get the latest tips, tricks, and how-to's, subscribe to our YouTube Channel.