Safe HTML Viewer
Got an .html, .htm or .svg attachment you don't trust? See what it shows with scripts and network blocked, and what it would do: password forms, where they send your data, redirects, disguised links and hidden payloads.
- The file is checked in your browser. Nothing is uploaded and nothing in it runs.
Scripts, forms, pop-ups and all network requests are blocked, so remote images show as missing. Highlighted source lines contain something worth a look.
How it works
Save the attachment, then drop it on the box above. Don't double-click it: that opens it in your normal browser, where it runs with your logins.
Read the summary first. A password field, a Telegram or Discord address, or a big base64 blob in a script are strong warning signs.
Look at the preview. It shows the page as it was designed, but nothing in it can run, send or download anything.
Why HTML attachments are dangerous
Mail filters scan executables and Office macros closely, so attackers send HTML files instead. A phishing attachment opens a convincing copy of a Microsoft 365, bank or parcel-service sign-in page from your own disk, with no suspicious web address to warn you, and sends what you type to the attacker, often through a Telegram bot or a free form service. An HTML smuggling attachment carries a ZIP, ISO or EXE inside the page as base64 text and has a script rebuild it and start a download, so the malware never passes the mail filter as a file. SVG images can do both, because an SVG is code too.
What this viewer does differently
The page is drawn inside a sandboxed frame with no permission to run scripts, submit forms, open windows or navigate, plus a content security policy that blocks every request to the internet. Tracking pixels don't reach the sender, so they never learn you opened it. Meanwhile the markup is parsed as data to list every form and where it posts, every remote server the page would contact, every link whose text shows a different site than it really opens, automatic redirects, javascript: links, event handlers and script code with the patterns obfuscated phishing kits use. Embedded files are identified by their first bytes and get a SHA-256 hash you can look up on VirusTotal without uploading anything.
Frequently asked questions
Can this tell me a page is safe?
No tool can promise that. No warning signs means none of the usual phishing and smuggling patterns were found in the markup. If an email pushes you to sign in or pay, go to the service yourself using an address you already know, not through the attachment.
What about other attachment types?
Use the Office file viewer to inspect Word, Excel and PowerPoint attachments for macros, the archive virus scanner for ZIP, RAR and ISO files, Check a PDF for PDFs, the email viewer for .eml and .msg files, and the file type checker when you don't know what a file really is.