Host webpages with Drive

With Drive, you can make web resources — like HTML, CSS, and Javascript files — viewable as a website. Here's how:

  1. Create a new folder in Drive and share it as "Public on the web."
  2. Upload your HTML, Javascript, and CSS files to this folder.
  3. Open the HTML file and click Open in the bottom-right corner.
  4. Click the "Preview" button in the toolbar.
  5. Share the URL that looks like "" from the preview window and anyone can view your web page.
Google Drive does not support web resources that make use of server-side scripting languages like PHP.