Convert WEBARCHIVE to HTML

Turn WEBARCHIVE files into HTML. The main page as one HTML file, with the stylesheets and images saved with it inlined so it opens offline.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop WEBARCHIVE files on the dialor turn it to pick what to do

A Safari page as one HTML file.The main page, with its styles and images built in, opens offline.

  1. What you get

    One HTML file holding the main page from the archive. The stylesheets and images saved with the page are inlined, so the file opens offline without any other files beside it.

  2. What it leaves behind

    Frames saved as separate archives are left out. Only the main page is converted.

    A page saved in a legacy encoding such as EUC-KR is rewritten as UTF-8.

  3. When it fails

    If the archive cannot be parsed, the conversion stops with input_corrupted. To go the other way, use HTML to WEBARCHIVE.

WEBARCHIVE and HTML.What each format is.

The formats

From · WEBARCHIVE

Safari Web Archive

A web page and its resources saved by Safari.

Extensions
.webarchive
MIME type
application/x-webarchive
Kind
Text and data
To · HTML

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
Kind
Text and data

In your code.The same WEBARCHIVE to HTML conversion through the API, for your app or your agent.

terminal
$ cv convert report.webarchive report.html
$ cv convert report.webarchive report.html

Questions.What people ask about WEBARCHIVE to HTML.

01OF 04

Yes. The stylesheets and images saved with the page are inlined in the file, so it opens offline.

No. Frames saved as separate archives are left out of the HTML file.

A page saved in a legacy encoding such as EUC-KR is rewritten as UTF-8.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

More conversions.Other ways in and out of WEBARCHIVE and HTML.