About htmlviewer.app
htmlviewer.app opens HTML, HTM, XHTML, MHT and MHTML files, folders and ZIP archives inside your browser, and runs pasted code. It is made by Taro Schenker, a web developer and SEO consultant, and published by Known by One, LLC, a small US publisher of reference sites and free tools.
The viewer reads each file on your device with open-source libraries (parse5 for HTML, postal-mime for MHTML, fflate for ZIP archives) and shows the page, cleaned with DOMPurify, in a frame where scripts are off and nothing is loaded from the internet. Scripts run only when you choose Run scripts, in a sealed frame with no network access, and remote files load only when you choose Load remote files.
Every change is tested on a set of files with known contents, hostile ones included, in three browser engines, online and offline. How htmlviewer.app works describes the tests and the known limits.
The site is free and has no account. It counts visits with Google Analytics, which never receives your files or your code, and it has no session recording. The privacy page lists what Google Analytics does receive.
If a file does not show correctly, write to contact@knownbyone.com and describe it (where it came from, its size, your browser and what went wrong). Please do not email private files.