HTML Viewer app icon: a white page with text lines above code brackets, on teal HTML Viewer

Open the .html file you were sent.

A bank statement, a report, an exported chat, a saved page, a school assignment. Read it like a page, see its code, and save it as a PDF, all on your iPhone.

Get it on the App Store

iPhone. Free to download; opening and reading files is free.

A monthly statement opened as a page, with Page and Source tabs and the line Scripts and web content are off for files from other apps The same file in Source: colored code with line numbers The editor with the live page above the code The page saved as a PDF, with Share, Print and Save to Files
How to open an HTML file on iPhone
  1. In Mail, Files or Messages, tap the .html file, then tap Share.
  2. Pick HTML Viewer in the row of apps (tap More if you do not see it).
  3. The page opens. Tap Source to see the code.

Or open HTML Viewer and tap Open a file. To keep a page's pictures and styles with it, pick them together with the page.

What it does
PAGEThe page as it was made, with its pictures and styles when they came with it. Text size, a dark page and pinch to zoom.
CODESource view with colored code, line numbers and wrap. Find, and copy all of it.
FINDFind in the page or in the code, with every match marked.
EDITA plain code editor with the page live above it, undo, a row of code characters and find and replace. Save over the app's copy or as a new file.
PDFPrint the page or save it as a PDF, made on the phone. Share it or save it to Files.
TYPES.html, .htm, .xhtml, .css, .js, .json, .xml, .svg, .md and .txt.
Safe by default

Scripts are off for files from other apps, and so are pictures and styles from the web, so the sender cannot see you opened the file. Turn them on for one file when you trust it. A page can only read files in its own folder. Links to the web open in your browser; the app itself does not browse.

Private

No account and no server. The app keeps its own copy of each file on your iPhone and never changes the original. Nothing leaves the phone unless you share it. See the privacy policy and questions and answers.