HTML pages: online viewer for .html .htm files
Preview .html and .htm pages in a zero-script, offline sandbox with local CSS and images, heading outline, and missing-reference checks; in developer mode, opt in per file to run local scripts offline. Includes experimental formats; see the limits below.
- .html
- .htm
Experimental: .html .htm support is still being refined. If you run into display or parsing issues, please send feedback in the app with the source app and what happened.
Capabilities
What it reads and its limits
Static pages, exported reports, email templates, documentation sites, and web game builds often ship as .html and .htm files. This format module lets Vormio preview their layout safely offline in a zero-script sandbox, inspect missing local stylesheet and image references, and press U at any time to view syntax-highlighted source.
What you can see
- Default zero-script static sandbox: Renders pages inside a strictly isolated
<iframe sandbox="">with<script>, inline event handlers (on*),javascript:URLs,<meta http-equiv="refresh">, and<base>stripped, plus an injected offline Content Security Policy that blocks all network requests and link navigation. - Offline local resource inlining: Resolves and inlines relative local stylesheets (including shallow
@importandurl(...)up to depth 2 with cycle protection), images, fonts, and media within bounded caps (4 MiB per asset, 24 MiB total). - Viewport and zoom controls: Switch between Auto, Desktop 1280, Tablet 768, and Mobile 390 widths, fit or zoom the preview, and read an honest count of blocked scripts and external resources.
- Opt-in developer-mode script sandbox: When Developer mode is enabled in Settings → General and the file contains inline or local relative scripts, the top bar offers a "Run scripts (offline sandbox)" action. After an in-place confirmation, scripts run in
<iframe sandbox="allow-scripts">(neverallow-same-origin) withconnect-src 'none'enforced. This state is never persisted: click "Disable scripts" at any time, or switch files / turn off Developer mode to reset immediately to the static sandbox. - Outline and reference inspection: Lists document metadata (
<title>, charset,lang, viewport, description), script/style/media/SVG/form counts, and anh1–h6heading tree. Local relative stylesheets, scripts, images, media, and icons participate in missing-reference checks; externalhttp(s)://URLs are listed as not checked without false missing warnings.
Limits
- Does not render headless-browser thumbnails; grid and list views use the document format icon across desktop and web.
- External
http(s):/// protocol-relative URLs and root-relative/paths are never fetched over the network; only local paths relative to the HTML file are resolved. - In packaged desktop builds, the host page enforces a stricter script CSP without
'unsafe-inline'; temporary script execution remains constrained by the intersection of host and sandbox policies, and scripts can never reach host UI, preload APIs, workspace data, or the network. - Safety limits: up to 16 MiB and 400,000 tokens per HTML file; up to 4 MiB per inlined asset, 24 MiB and 200 assets total, and CSS
@importnesting depth 2.
Samples
Bundled CC0 samples include index.html (with local relative CSS, local images, multi-level headings, an offline local script for testing the developer-mode sandbox, and RFC 2606 .invalid external placeholders) and legacy-report.htm (covering .htm support and a deliberate missing local image reference). See README.txt in the samples folder for details.
Files stay on your machine
In the web app, files are read directly in your browser from the folder you choose and are never uploaded. In the desktop app, Vormio accesses folders read-only without modifying files or sending page content to any external host.
Where to inspect
Choose how to inspect your files
Start in your browser
The web app reads one local folder at a time. UID / GUID references are marked “Not checked”.
Working across folders?
Desktop links multiple folders, filters by properties, shows what references a file and watches for changes.
Related formats
Related formats
Office documents and presentations
Inspect Word (.docx) and PowerPoint (.pptx) outlines, slide and document previews, speaker notes, embedded media, and external links without opening Office.
.docx.pptx
PDF and Illustrator
Browse PDF and PDF-compatible AI: first-page thumbnails, page navigation and zoom, document information, attachment names and Illustrator links.
.pdf.ai
Video containers
Inspect MKV, AVI, FLV, M2TS, MTS, and MXF video containers locally for tracks, codecs, duration, chapters, timecode, and sampled frame previews.
.mkv.avi.flv.m2ts.mts.mxf
Archives and Unity packages
Browse ZIP and Unity package directories, sizes and image previews without extracting to disk.
.zip.unitypackage
Bitmap fonts
Inspect BMFont glyphs, kerning and atlas references, and type a specimen.
.fnt
Fonts
Thumbnails and specimens for TTF, OTF, TTC, WOFF and WOFF2 fonts; lists the family, license, character count, scripts and variable axes.
.ttf.otf.ttc.otc.woff.woff2