HTML ViewerHTML File Reader

Open HTML and MHT files as page or source. Open a folder for images and styles.

Get it on Google Play
HTML Viewer screenshot 1

When you need it

Someone sent you an HTML file, and on your phone it opens as a wall of code, or nothing offers to open it at all.

Screenshots

What it does

Only what you need

  1. Shows .html, .htm and .xhtml files as the page they were meant to be.
  2. Opens MHT and MHTML files (a web page saved as a single file) with their images and styles.
  3. Open a whole folder and the page picks up the images and stylesheets next to it, and links to other pages in that folder work.
  4. Flip to source view for line numbers, search, and copying exactly the lines you need.
  5. If the text comes out garbled, pick the encoding yourself (UTF-8, EUC-KR, Shift_JIS and more).
  6. Save the page you're looking at as a PDF.

How to use it

Done in 5 steps

  1. Tap the HTML file in your file manager or messaging app and choose this app. You can also tap Open file on the app's home screen.
  2. If images or styling are missing, use Open folder on the home screen, pick the folder the file lives in, and tap the page in the list.
  3. Use the angle-bracket (<>) icon in the top bar to switch between page view and source view.
  4. Scripts start off. If the page has any, a bar at the top lets you tap Turn on. With Always turn on scripts in Settings, new pages open with scripts on.
  5. Open the menu at the top right to save as PDF, change the encoding or text size, or share the file.

What it doesn't do

Good to know before you install

FAQ

Why are the images broken and the page unstyled?

When you open a single HTML file, the app can't reach the image and CSS files sitting beside it. Use Open folder and pick that folder instead. Files in that folder and its subfolders load; anything in a parent or sibling folder doesn't.

Can I type in a web address and open a site?

No. It opens files on your device, plus HTML you've copied and paste in.

Is it safe to open an HTML file from someone I don't know?

Scripts are off when a page opens unless you've chosen Always turn on scripts (once turned on, they stay on until you close that screen, including pages you reach by links), and the screen that shows it doesn't connect to the internet. Links that lead outside show their address first and only go to another app if you choose to open them.

My MHT file doesn't show this app in the Open with list.

Some file managers won't hand MHT files to other apps. Open this app first and pick the file with Open file.

What do I need to run it?

Android 11 or later. Files open without an internet connection.

Get the app

HTML Viewer

Open HTML and MHT files as page or source. Open a folder for images and styles.

Get it on Google Play

Privacy policySupport