You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I convert multiple png to jpg on Mac?

Recently I have some PNG images on my Mac and want to convert PNG to JPG format in batches, but the system's built-in "Preview" application can only convert one at a time, which is too inefficient. I have tried some online conversion tools, but I can only upload a few images at a time, and the conversion quality is not stable.


I heard that there are some scripts or Automator on Mac that can batch convert image formats, but I don't know how to do it specifically, and I'm worried that it will be too complicated. Is there any friend who can share a simple and effective method that allows me to quickly batch convert multiple PNG to JPG on Mac?

iPhone 15

Posted on Sep 12, 2024 3:12 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 12, 2024 5:36 AM

Preview can do batch conversions.

See here for details: How to batch convert images using macOS Preview - MacRumors


Note that PNG has some properties that may make it more versatile and a better choice in some circumstances.

  • Transparency
  • Smaller size for non-photographic images with few colors, like graphs and logos.
  • Pixel perfect reproduction
16 replies
Question marked as Top-ranking reply

Sep 12, 2024 5:36 AM in response to BenjaminX5

Preview can do batch conversions.

See here for details: How to batch convert images using macOS Preview - MacRumors


Note that PNG has some properties that may make it more versatile and a better choice in some circumstances.

  • Transparency
  • Smaller size for non-photographic images with few colors, like graphs and logos.
  • Pixel perfect reproduction

Sep 13, 2024 2:31 AM in response to Atomss77

Atomss77 wrote:

ImageMagick is a free command line tool available for macOS, Windows and Linux. It offers high-quality image conversions with more control over quality settings.

First, install ImageMagic free image converter on Mac via homebrew:

brew install imagemagick

Once ImageMagick is installed, open Terminal app and change to the pathe where png files are saved. After that, input the following command to bulk convert PNG to JPG on mac:

mogrify -format jpg *.png

This command will replace the PNG images with JPG versions while keeping the same filenames (but with the .jpg extension).

In addition, you can specify the quality of the JPG images by adding the -quality flag. The value ranges from 0 (lowest quality) to 100 (highest quality). For example:

mogrify -format jpg -quality 100 *.png

This will ensure maximum image quality during the PNG to JPG conversion process.

I have tried using ImageMagick to batch convert PNG to JPG on Mac before. It is indeed very powerful, but to be honest, this command line operation is a bit troublesome for me. Every time I have to open Terminal, enter various commands, and be careful about the format and path. Even if I make a mistake, it will fail. Although it has strong control, it does not feel intuitive to use, especially for someone like me who wants to convert quickly, it is too complicated and not convenient enough.

Sep 13, 2024 2:36 AM in response to BenjaminX5

There are actually several simple ways to batch convert PNG to JPG on Mac. I encountered the same problem before and later found a reliable solution.


You can use Automator. Although it sounds complicated, Automator is actually not difficult to use. You can create a batch conversion workflow. After setting it up, you can batch convert images with one click, without having to do it every time. I have tried it and the effect is pretty good.

Sep 18, 2024 2:43 AM in response to AbcAymer

AbcAymer wrote:

1. To Convert a PNG to JPG on mac
Open the PNG image with Preview. This is the default application when double-clicking the image.
2. Select File > Export.
3. Name your file and select a location to save it.
4. Change the format dropdown menu to JPG and adjust the quality slider.
5. Then, click Save.

Although using Preview to convert PNG to JPG is very convenient, it also has some shortcomings. First of all, it can only process one image at a time, which is a bit inefficient. If you have a lot of images to convert, it will be troublesome. And when exporting, although you can adjust the quality, the function is relatively basic and there are not many options. If you need to batch convert or have more requirements for the images, this method is not enough. It is okay for simple conversions, but it is useless for batch processing.

Sep 19, 2024 6:06 AM in response to Espositos

Tina_birds wrote:

If you often need to batch convert images, Any2PIC can save you tons of time by automating the process.

Source:


If you want to keep the original quality, it is recommended with a dedicated PNG to JPG Converter as it offers advanced settings for image conversion. And most people are not comfortable with command line tools.


[Edited by Moderator]

Sep 12, 2024 7:48 PM in response to BenjaminX5

ImageMagick is a free command line tool available for macOS, Windows and Linux. It offers high-quality image conversions with more control over quality settings.


First, install ImageMagic free image converter on Mac via homebrew:


brew install imagemagick


Once ImageMagick is installed, open Terminal app and change to the pathe where png files are saved. After that, input the following command to bulk convert PNG to JPG on mac:


mogrify -format jpg *.png


This command will replace the PNG images with JPG versions while keeping the same filenames (but with the .jpg extension).


In addition, you can specify the quality of the JPG images by adding the -quality flag. The value ranges from 0 (lowest quality) to 100 (highest quality). For example:


mogrify -format jpg -quality 100 *.png


This will ensure maximum image quality during the PNG to JPG conversion process.

Sep 12, 2024 11:18 PM in response to BenjaminX5

You can create a custom workflow in Automator for converting PNG to JPG while controlling the quality.


Step 1: Open Automator on your Mac and choose Application.


Step 2: Search for Get Specified Finder Items and drag it to the workflow.


Step 3: Add Change Type of Images action and set it to convert images to JPG.


Step 4: Add a Copy Finder Items action to save the output in a specific folder.


Step 5: Save the workflow as an application and run it on your batch of PNG images.


This way, you can automate the PNG to JPG conversion while ensuring the images are saved in high quality.

Sep 13, 2024 2:28 AM in response to AbcAymer

AbcAymer wrote:

1. To Convert a PNG to JPG on mac
Open the PNG image with Preview. This is the default application when double-clicking the image.
2. Select File > Export.
3. Name your file and select a location to save it.
4. Change the format dropdown menu to JPG and adjust the quality slider.
5. Then, click Save.

I know, but it doesn't seem to be able to batch convert png files to JPG on mac, right?

How do I convert multiple png to jpg on Mac?

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