Phone icon for viewing and running an HTML file on Android, with the droply mascot
Guide

HTML File Viewer for Android: How to Open and Run .html Files on Your Phone

Tap an .html file in Android Downloads and you usually see raw code, a blank page, or a “Can't open file” error. You do not need to install an ad-heavy Play Store app to view or run it. Here are the two cleanest ways to open any HTML file on Android.

Short answer: to inspect a single .html file privately on Android with no install, open our free browser HTML Viewer and tap Open .html. If the page uses JavaScript, multiple files, or you want to send it to someone else, drop the file on droply.so and open the live HTTPS link in Chrome.

Why Android won't open HTML files properly

Modern Android restricts local files opened from Downloads or messaging apps for security. Three things usually go wrong:

  • File managers show raw code: Android's built-in viewer often opens .html as plain text instead of rendering the page.
  • Chrome blocks local paths: when opened via a content:// path, external CSS, images, and scripts often fail to load.
  • Chat apps strip interactivity: WhatsApp, Gmail, and Drive previews do not run interactive JavaScript from ChatGPT or Claude HTML pages.

Compare the 3 ways to view HTML on Android

MethodApp install?Runs JS & CSS?Works for sharing?
Browser HTML ViewerNoYes (single file)1-click Publish as link
Live link on droplyNoYes (single HTML or ZIP)Yes, opens on any phone
Play Store HTML viewer appsYesVariesNo, only on your phone

Option 1: Open it privately in your Android browser (no upload)

If you just want to read or test an .html file sitting in your Downloads folder without uploading it anywhere:

  1. Open Chrome on Android and go to droply.so/tools/html-viewer.
  2. Tap Open .html and pick the file from your Downloads or Files app.
  3. The rendered page appears right away, and you can switch between Desktop and Phone width or tweak the code live.

Option 2: Turn the HTML file into a live HTTPS link

If your page came from ChatGPT, Claude, or a website folder with separate CSS and images, putting it behind a real HTTPS link is the cleanest fix. Chrome treats it like any normal website, and you can text the link to anyone without them hitting the same Android issue.

  1. Go to droply.so/html-to-link on your phone or computer.
  2. Pick a short name and drop your .html file (or a .zip folder with index.html at the top level).
  3. Open your-name.droply.page in Chrome. Everything runs cleanly, including scripts, fonts and images.

On droply's free plan, one project holds up to 10 MB with no expiry date. If you also need to open the same page on an Apple device, see how to open an HTML file on iPhone.

Questions people ask

Can Chrome on Android open a local HTML file?

Sometimes for plain static text, if your file manager offers “Open with Chrome.” On Android 11 and newer, scoped storage and content:// links frequently break scripts, fonts, and relative images. Opening the file in our browser HTML viewer or hosting it on droply avoids those restrictions.

How do I open a zipped HTML website on Android?

Unzipping a folder on Android still breaks relative paths in Chrome. Upload the .zip straight to droply ZIP to website instead. droply unpacks it and serves index.html with all CSS, JS, and images working over HTTPS.

Is it safe to open unknown HTML files on Android?

Unknown HTML attachments from unsolicited emails can contain phishing forms. Our HTML Viewer renders code inside a sandboxed frame so it cannot touch your browser cookies or storage, and lets you inspect the raw HTML code first.

Open an HTML file right in Chrome, or turn it into a link.

Open HTML Viewer free →