How to open a .webarchive file without a Mac
To open a .webarchive file without a Mac, turn it into an HTML file. Drop it on tuul.io/webarchive-to-html/ and download the .html, which has the page's pictures, stylesheets and fonts inside it; double-click it and it opens in Chrome, Edge, Firefox or any phone's browser, also offline. The archive is read in your browser and never uploaded.
What a .webarchive file is
When someone saves a web page in Safari on a Mac with File > Save As and the Web Archive format, Safari writes one .webarchive file. Apple says it “saves all graphics” of the page (Apple support): inside are the page itself and the pictures, stylesheets, fonts and scripts it loaded, packed in Apple’s property list format. Only Safari opens it, so on Windows, Android or a Chromebook it’s a file nobody can read.
Turn it into an HTML file
- Open tuul.io/webarchive-to-html/ and drop the
.webarchivefiles on it. - Download each
.htmlfile, or all of them as a ZIP. - Double-click the HTML file: it opens in your browser.
The page is rebuilt as one file: every picture, stylesheet (and the ones it imports), font and frame Safari saved is put inside it, so there’s nothing to keep next to it and it opens the same without the internet. Text saved in an old encoding, such as Cyrillic or Japanese pages from older sites, is converted to UTF-8 so it shows correctly everywhere.
What’s left out
- Scripts. They’re removed, so nothing in the page runs. Menus, comment boxes, slideshows and video players that need scripts stay still; text and pictures show as Safari saved them.
- Anything Safari didn’t keep. Pictures, ads or fonts the page loaded from other sites that aren’t in the archive are left out instead of fetched. The HTML file also tells the browser, with a content security policy, not to load anything from the web, so opening it never contacts a website.
Links in the page still work: click one and it opens the website it points to.
Make a PDF of it
Open the HTML file, press Ctrl+P (or Cmd+P on a Mac) and choose Save as PDF. To make the PDF smaller afterwards, use Compress PDF.
Questions
Can Chrome or Edge open a .webarchive directly?
No. Only Safari reads the .webarchive format. Other browsers open the same page once it's an HTML file with everything inside it, which tuul.io/webarchive-to-html/ makes on your device.
Will the page look the same?
Text, pictures, layout and fonts that Safari saved look the same. Scripts are left out, so menus, slideshows and video players that need them don't move, and pictures Safari didn't keep are missing rather than fetched from the web.
How do I get a PDF of a web archive?
Make the HTML file on tuul.io/webarchive-to-html/, open it in a browser, press Ctrl+P (Cmd+P on a Mac) and choose Save as PDF.