Home  >  Q&A  >  body text

[Urgent] How to convert webarchive format to html?

Hello teacher

I saved a single page using the Safari browser on the mac system. I want to convert it into html format. I don’t know how to operate it. I can’t understand the online tutorials. Please answer



I saved a single page using the safari browser on the mac system. I want to convert it into html format, but I don’t know how to operate it. , I can’t understand the online tutorials, please give me an answer

智哥智哥2183 days ago1936

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2018-10-28 16:22:24

    You try this method:

    Mac OS X system has a file conversion function that can convert webarchive files into html files.

    The method is:

    1: Create a folder and put your webarchive file into the folder.

    2 Enter in the Terminal: textutil -convert html space

    3 Open the folder containing the webarchive file, use the mouse to pull the file to the terminal, and then press Enter. textutil will convert the webarchive file into an html file and store it in the folder containing the webarchive file.

    The pictures in the original web page will also be recalled and stored in this folder. The image link in the generated html file uses the hard disk as the root directory, so you need to use textedit or other text editing software to replace "file:///" with spaces.

    reply
    0
  • Cancelreply