HTML from Google Drive

Google Drive shows your HTML as code. Here's the fix.

Drive can store an HTML file but won't run it as a web page. Put the same file on droply and share a link that opens like any website.

Free plan: 1 project, files up to 10 MB, no expiry · no card needed · See plans

Google Drive can't display HTML files as web pages: Google ended Drive web hosting in August 2016, so shared .html files open as source code or download. To share it as a working page, upload the file (or a ZIP with its images and CSS) to droply and send the link, like my-page.droply.page.

1

Download it from Drive

Right-click the file (or folder) in Drive and choose Download. A folder downloads as a ZIP, which is what you want.

2

Upload to droply

Drop the .html file or the ZIP on droply.so.

3

Share the link

Replace the Drive link with your droply link. It opens as the page on any device.

Drive vs. droply for web pages

Google Drivedroply
Opens .html asCode or a downloadA live web page
Images and CSS next to itNot loadedLoaded (upload a ZIP)
Your own name in the linkNoyour-name.droply.page
Password and visitor statsGoogle sharing onlyYes (Plus)

Same problem with Dropbox, OneDrive and SharePoint

File storage services show HTML as a file preview, not a website, for security reasons. A host built for web pages is the simple way around it.

Plans

Free: 1 project, 10 MB, 5,000 visits a month. Starter ($5/month billed yearly): 3 projects, 100 MB, no badge. Plus ($12/month billed yearly): 10 projects, 1 GB, passwords, custom domains and analytics. Every paid plan starts with a 7-day free trial.

Questions

Is there a way to make Drive render HTML?

Not anymore. Old googledrive.com/host links stopped working in 2016, and Google Sites builds pages in its own editor rather than hosting your HTML file.

Is droply free?

Yes, one project up to 10 MB is free and doesn't expire.

Can I keep it private like Drive sharing?

On Plus you can add a password, or allow only certain email addresses to open it.

A link that opens as a page

Drop the file in, pick a name, and send the link. It opens on any phone or computer.