How to Convert HTML to PDF on Mac

Charlotte Daniels

Mac, Tutorials

Converting HTML to PDF is a common requirement for many Mac users. Whether you need to create a PDF document from a web page, an HTML file, or even a complete website, there are several methods available that can help you achieve this. In this tutorial, we will explore different approaches to convert HTML to PDF on Mac, allowing you to easily save and share your content in the universally compatible PDF format.

Using Safari’s Print to PDF Feature

If you have the content you want to convert open in Safari, you can take advantage of its built-in Print to PDF feature. This method is quick and easy:

  1. Open the web page or HTML file in Safari.

  2. Go to the “File” menu and select “Print”. Alternatively, use the keyboard shortcut “Command + P”.

  3. In the print dialog box, click on the “PDF” dropdown menu located at the bottom left corner.

  4. Select “Save as PDF”.

  5. Choose a location on your Mac where you want to save the PDF file and click “Save”.

This method allows you to convert both individual web pages and entire websites into PDF documents right from Safari.

Using Third-Party Applications

If you prefer using dedicated applications for converting HTML to PDF on your Mac, there are several reliable options available:

1. Adobe Acrobat Pro DC

Adobe Acrobat Pro DC is a comprehensive tool for working with PDF files that also offers powerful conversion capabilities:

  1. Download and install Adobe Acrobat Pro DC if you haven’t already.
  2. Open the application and go to “File” > “Create” > “PDF from Web Page”.
  3. In the dialog box that appears, enter the URL of the web page you want to convert or click on “Browse” to select an HTML file from your Mac.
  4. Click “Create” and choose a location to save the PDF file.

Adobe Acrobat Pro DC provides advanced options for customizing the output, making it a great choice for users who require more control over their PDF conversion process.

2. wkhtmltopdf

wkhtmltopdf is an open-source command-line tool that allows you to convert HTML documents to PDF format:

  1. Install wkhtmltopdf by visiting their official website and downloading the appropriate version for your Mac.
  2. Open Terminal on your Mac.
  3. Navigate to the folder where wkhtmltopdf was extracted or installed using ‘cd’ command.
  4. Type ‘wkhtmltopdf’ followed by the URL of the web page or path to your local HTML file, and then specify the name and location of the output PDF file. For example:
    wkhtmltopdf output.pdf
  5. Press Enter to execute the command and convert HTML to PDF using wkhtmltopdf on your Mac.

wkhtmltopdf offers flexibility and customization options through various command-line parameters, allowing you to tailor the conversion process to your specific needs.


Converting HTML to PDF on Mac can be achieved through multiple methods. Whether you choose to use Safari’s built-in Print to PDF feature or third-party applications like Adobe Acrobat Pro DC or wkhtmltopdf, you can easily create PDF documents from HTML content. Experiment with different methods and tools to find the one that suits your requirements best.

Remember, having the ability to convert HTML to PDF gives you the flexibility to save and share content in a universally compatible format, making it easy for others to access and view your documents.

Android - iPhone - Mac

 © 2023 UI-Transitions

Privacy Policy