Why this HTML workflow breaks on iOS

Shortcuts can build HTML for automation reports, generated previews, quick dashboards, and saved web views. After the file is saved to Files, iOS may still show source text or a partial preview.

The shortest answer

Install Html Preview, open the file from Files, the Share Sheet, or the source app, and preview it locally. The app has no subscriptions, no in-app purchases, and no ads.

The Shortcuts workflow

Shortcuts: Open one .html, .htm, .xhtml file from Files, the iOS Share Sheet, or Open In. For reliable preview, use self-contained HTML. Neighboring CSS, scripts, images, anchors, or other local pages may not resolve as a project.

What to check before opening

Use this for real .html, .htm, or .xhtml files produced by a shortcut, not for normal web links opened in Safari.

Why local preview fits this job

Html Preview is focused on file preview. It avoids uploads, account setup, ad clutter, and heavy editing features when the user simply needs to read an HTML file now.

If you also receive Markdown files

AI and document workflows often produce both HTML and Markdown. Md Preview is the companion viewer for that file type.