Web Archive (file format)

Web Archive
Filename extension
.webarchive
Internet media type
application/x-webarchive
Uniform Type Identifier (UTI)com.apple.webarchive
Type of formatweb page file archive
Extended fromApple Binary Property List

Web Archive (stylized by Apple as Web archive, extension .webarchive) is a Web archive file format available on macOS and Windows for saving and reviewing complete web pages using the Safari web browser. The Web Archive format differs from a standalone HTML file because it also saves linked files such as images, CSS, and JavaScript. The Web Archive format is a concatenation of source files with filenames saved in the binary plist format using NSKeyedArchiver.

Support for Web Archive documents was added in Safari 4 Beta on Windows and was included in subsequent versions, until its discontinuation in 2012. Safari on iOS and iPadOS (iPhone and iPad) has supported Web Archive files since at least iOS 13. Previously there was a third party iOS app called Web Archive Viewer that provided this functionality.