safari download as html

Does anyone know how that why my safari downloads all files (pdf or ipynb, ...) as html?

Posted on Jun 26, 2022 04:14 AM

Reply
3 replies

Jun 30, 2022 05:07 AM in response to ryane77

Hi Ryane77,

Thank you so much for your reply! I'm currently using MacBook Air with Mac OS Monterey Version 12.0.1, and I always click the "Download file" button to download my files.

It worked well for me before, and I can get the file in the form I want. However, I don't know what happened to my computer, this button doesn't work for me anymore, and every time I click the button(no matter which form of the file), it'll just download a html file for me. And this happen with all websites haha.

Some screenshots are attached, hope that would help!


Thank you so much!

Best regard.

Jun 27, 2022 08:18 AM in response to cynthia0106

Hi cynthia0106,


We see your PDF downloads are saving as HTML in Safari. Which device and software version are you using?


What method are you using to save the file?


Also, does this happen with all websites?


If you're using a Mac, see if this helps: Print or create a PDF of a webpage in Safari on Mac - Apple Support


"When printing or creating a PDF of a webpage, you can include its background image and color, and show the web address and date in headers and footers.

  1. In the Safari app  on your Mac, choose File > Print.
  2. Click the options pop-up menu (in the separator bar), choose Safari, then set the webpage printing options.
  3. If you don’t see the options pop-up menu in a separator bar to the right of the page preview, click Show Details at the bottom of the Print dialog.
  4. To create a PDF of the webpage, click PDF at the bottom of the dialog, then choose what you want to do with the PDF."


Best wishes.

Jun 30, 2022 07:24 AM in response to cynthia0106

Hi cynthia0106,



Make sure you follow the steps we've shared above to download pages from Safari. Have you tried downloading files from another site? If you have and they downloaded correctly, it may be the website those documents reside on. You can reach out to the company to see if the files have been formatted correctly.


Contact Apple Support if you need more help.


All the best.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

safari download as html

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.