Drive HTML Preview Download

Privacy policy for Drive HTML Preview

Last updated: 2026-08-28

Drive HTML Preview renders HTML files stored in your Google Drive as web pages instead of showing their source code.

What the extension accesses

When you open an HTML file in Google Drive, the extension downloads that file’s contents using your browser’s existing Google session, then renders it in an isolated frame in a new page. It requests no OAuth scopes and no Drive API access, and it never sees your Google credentials.

What the extension does with it

The file’s contents sit in your browser’s session storage only long enough to reach the viewer page, and the extension discards them as soon as the viewer reads them. Closing your browser clears them.

What the extension does not do

What a document you open may do

The two lists above describe the extension. They do not describe the HTML file you are viewing.

An HTML file can reference scripts, images, stylesheets, or fonts from third-party servers, and it can send network requests of its own, such as an analytics beacon. It can do that in this extension’s viewer as it could in any ordinary browser tab, and the extension does not block it. The viewer’s content security policy permits the rendered document to load resources over https: and to open connections over https:.

The extension sends nothing anywhere. A document you open may send something to whoever wrote it, or to the third parties it references, and the extension will not stop it. You face the same exposure opening that file from any other web page. If you do not trust a file’s author, do not preview the file.

The document runs in a sandboxed frame in an opaque origin. It has no access to chrome.* APIs, to extension storage, to your Google cookies, or to your other Drive files.

Permissions

Storage lets the extension pass a file’s contents from the background script to the viewer page, and remember whether you have turned previewing off.

Access to drive.google.com and drive.usercontent.google.com lets it detect that you have opened an HTML file, and download that file’s contents.

Contact

Open an issue on the project’s repository.