Forum Discussion

MoraTania's avatar
MoraTania
Iron Contributor
Mar 14, 2025

Batch convert png to jpg on mac without losing quality?

Hello everyone!

I'm currently working on a batch of images on my Mac, and I need to batch convert many PNG images to JPG.

I've tried some common methods, such as the "Preview" app that comes with the Mac, but this method requires me to open the images one by one and then save as, which is very inefficient for a large number of images. In addition, I have also searched for some third-party PNG to JPG converter software, but in the process of using it, either the operation is too complicated, or there are compatibility problems, and I can't complete the batch conversion task successfully.

Can any of you tell me if there is any convenient and efficient tool or command line way to bulk convert png to jpg on Mac? If there is, I hope you can provide some specific tutorials or operation guides, thank you very much for your help!

8 Replies

  • Any2PIC, one of the best image converters for Windows and Mac. Here is the step-by-step guide:

    https://www.techgizz.com/bulk-convert-png-to-jpg

     

  • MaxGarcia's avatar
    MaxGarcia
    Iron Contributor

    Using an image processing script is a very efficient way to batch convert PNG to JPG on mac, especially when you have a large number of images to process. You can use ImageddMagick , a powerful command-line image processing tool that supports a variety of formats. Here are the steps to use this method on a Mac:

    Install ImageddMagick: First you need to install ImageddMagick through Homebrew, open a terminal and run the following command:

    brew install ImageddMagick


    Perform batch conversion: Once you have ImageddMagick installed, you can use the mogrify command to batch convert PNG to JPG on mac. Go to the directory where your PNG files are stored and run:

    mogrify -format jpg *.png


    This command will convert all PNG files in the directory to JPG format.

    This method allows you to batch convert a large number of PNG to JPG files very quickly and efficiently, and it is also very easy to operate.

  • MarylandCrab's avatar
    MarylandCrab
    Bronze Contributor

    Converting PNG to JPG on a Mac can actually come with some neat advantages, and I’ve seen these benefits firsthand. Here’s the lowdown on why you might want to make that switch:

    1. One of the biggest perks is that JPGs are usually way smaller than PNGs. If you’re working with a lot of images, that smaller file size makes a big difference. I’ve had situations where I was running out of storage, and switching some of my images to JPG freed up a ton of space on my Mac. It’s like a mini decluttering session for your hard drive!

    2. JPG is like the universal language of images. Most apps, websites, and platforms play nicely with JPGs. I’ve encountered instances where I tried uploading PNGs, and some sites would throw a fit or just straight-up refuse them. Swapping to JPG made my life easier, especially when I was posting things to social media or sharing files with friends.

    3. PNG supports transparency and layers, which is great for graphic design but can be overkill if you just want a simple image. By converting PNG to JPG on Mac, you can simplify things. I often use JPGs for quick edits and straightforward images without the fuss of dealing with layers and transparency.

  • AlexBlythe's avatar
    AlexBlythe
    Iron Contributor

    If you need to convert PNG to JPG on mac in batches, you can try the following methods without any third-party tools:

    Use Automator: Automator is a built-in automation tool for macOS. You can create a workflow to batch convert PNG to JPG. The specific steps are to open Automator, select "Application", then add the "Get Specified Finder Items" and "Change Image Type" actions, and finally save the files in JPG format.

    Use the command line: You can batch convert PNG to JPG using the sips command line tool that comes with macOS. Open the terminal and use the following command:

    for f in *.png; do sips -s format jpeg "$f" --out "${f%png}jpg"; done


    This command will convert all PNG files in the current folder to JPG.

    Use the batch operation of the Preview application: Although Preview can usually only convert one by one, you can select multiple PNG files, right-click and select "Preview" in "Open with". Then, after opening all in Preview, select "File" > "Export", set it to JPG format, and save it to batch convert.

    All three methods do not require the installation of third-party tools, and can easily complete the conversion from PNG to JPG, which is suitable for use on Mac.

  • MadisonClark's avatar
    MadisonClark
    Iron Contributor

    For small amount of PNG to JPG conversion on Mac, the Preview app is a pretty choice out there.

    Step 1: Make sure you have placed the PNG images you need to convert in the same folder so that it will be easier to follow. For example, you can place them all in a new folder on your desktop.

    Step 2: After opening the Preview application, click on the File menu, select the Open option, and in the file selection dialog box, locate the folder where the PNG images are stored. Select all the PNG images you want to convert, and then click the “Open” button.

    If you have imported more than one image at a time and need to confirm or adjust the selection range, you can view the list of imported images in the sidebar of the “Preview” application. Select the specific image you want to convert by clicking on the image thumbnail, or hold down the Command key to make multiple selections.

    Step 3: After selecting the PNG images you want to convert, click on the “File” menu and select the “Export” option. Make the following settings in the pop-up “Export” dialog box:

    Save Location: Choose the path to the folder where you want to save the converted JPG images in the “Save Location” drop-down menu. You can choose desktop, other disk partition or customized folder.

    File Format: Choose “JPEG” in the “Format” drop-down menu. This will specify the format of the exported images as JPG.

    Adjust Parameters (Optional): According to your needs, you can also adjust some other parameters, such as the “Quality” option, by dragging the slider to set the quality of the JPG image, the higher the value, the better the quality of the image, but the file size will be increased accordingly; The “Resolution” option can be used to adjust the resolution of the picture.

    After finishing the settings: click “Save” button, then “Preview” application will batch convert .png to .jpg in mac according to the parameters you set, and save them to the folder you specified.

  • Tanksssinmyu's avatar
    Tanksssinmyu
    Iron Contributor

    You can convert PNG to JPG on Mac use Automator:

    1. Open Automator: Go to Applications > Automator.
    2. Create New Document: Select New Document and choose Workflow.

    3. Add Action: In the Actions library, search for "Change Type of Images" and drag it to the workflow area.
    4. Set to JPEG: Select the option “JPEG” from the dropdown menu.
    5. Add Finder Items: Search for “Get Specified Finder Items” and add it to the workflow.
    6. Run Workflow: You can then add your PNG files here, and when you run the workflow, it will convert PNG to JPG on Mac.

    You might think, "I’ll just right-click and convert using any old app," but not all software handles conversions the same way. Stick with solid apps like Preview or the Photos app on Mac for the best results. You don’t want to end up with low-quality conversions from random third-party apps that might mess with your images. After converting, check the file size of the JPG. Sometimes, you’ll find that the JPGs are way larger than expected, especially if you’ve kept the quality high. It can be easy to fill up your storage space if you’re not paying attention. If size matters, don’t be shy about adjusting the quality when you save it.

  • Mieowo's avatar
    Mieowo
    Iron Contributor

    For mac users, you can use the built-in command line tool sips to batch convert PNG images to JPG format. sips is a powerful image processing command line tool that comes with Mac system, which can be used to query, convert and manipulate the metadata and content of all kinds of image files, and support inter-conversion of multiple image formats.

    Use the cd command to switch to the directory containing images you need to convert PNG to JPG on Mac. For example, if your PNG images are stored in the "Images" folder on the desktop, you can enter the following command in the terminal:

    cd ~/Desktop/Images

    In the target directory, use the following command to convert png to jpg on macOS:

    sips --resampleWidth 1024 --setProperty format jpeg *.png --out /Users/user_name/Desktop/Images/JPG

    The explanation of the above command is as follows:

    --resampleWidth 1024: optional parameter, used to specify the width of the converted JPG images is 1024 pixels, and the height will be adjusted automatically according to the aspect ratio of the original images. You can modify this value according to your actual need, or omit this parameter to keep the size of the original image.

    --setProperty format jpeg: specify the format of the converted image as JPG.

    *.png: indicates all PNG image files in the current directory. You can modify this wildcard expression to specify a specific file or range of files to be converted.

    --out /Users/your username/Desktop/Images/JPG: specifies the output directory of the converted JPG images. Please replace /Users/your username/Desktop/Images/JPG with the path of the directory where you actually want to save the JPG images. If you omit this parameter, the converted JPG images will overwrite the original PNG images.

  • Eamllopssin's avatar
    Eamllopssin
    Iron Contributor

    You can easily convert PNG to JPG on a Mac using several methods. Here are a few effective ways to do it:
    Method 1: Using Preview to convert PNG to JPG on Mac

        Open the PNG File: Locate your PNG file in Finder. Right-click it and select "Open With" > "Preview."
        Export the File: Once the image is open in Preview, go to the menu bar and click on File > Export….
        Select Format: In the export dialog, click the “Format” dropdown menu and select “JPEG.”
        Adjust Quality: You can adjust the quality slider if desired. Higher quality means a larger file size.
        Choose Destination: Choose where you want to save the converted file and rename it if necessary.
        Click Save: Finally, click the “Save” button.

    Method 2: Using Photos App to convert PNG to JPG on Mac

        Import the PNG: Open the Photos app and import your PNG image if it’s not already there.
        Select Image: Find and select the image you want to convert.
        Export the File: Click on File in the menu bar, then select Export > Export 1 Photo….
        Choose JPEG Format: In the export options, select “JPEG” as the file format.
        Adjust Quality and Size: Set the quality and size options as needed.
        Choose Destination: Choose where to save the exported file.
        Click Export: Click the “Export” button to finish the process.

    Method 3: Using Online Converters to convert PNG to JPG on Mac

        Visit a Conversion Website: Go to an online converter like Converti0 or Zamzer.
        Upload PNG File: Click the upload button to select your PNG file from your Mac.
        Select Output Format: Make sure to select JPG as the output format.
        Convert: Click the convert button, and wait for the process to finish.
        Download the JPG: Once converted, download the JPG file to your Mac.

Resources