Forum Discussion

Tomilsonw's avatar
Tomilsonw
Iron Contributor
Mar 06, 2025

Is there an easy way to convert heic to jpg in bulk?

I recently exported nearly 500 heic photos from my iPhone, and found that many platforms (such as Windows computers, social media, and cloud drives) cannot directly preview or upload such files.  I urgently need a solution that supports batch operations, preferably to preserve the original image quality without complicated operations. Is there a free, efficient tool or script that can achieve fast batch conversion of "heic to jpg"?

Current dilemma:

  1. I tried an online "heic to jpg" converter tool that only transferred 5 photos at a time and erased the copyright information.
  2. I also tried to use Python scripts, but the EXIF ​​information was garbled.

Please provide suggestions, I don't want to toss!

  • Dvoraky's avatar
    Dvoraky
    Iron Contributor

    Fork bulk conversion, it is much better to use a HEIC to JPEG converter software instead as it is fast and safe!

  • RonaldWhite's avatar
    RonaldWhite
    Iron Contributor

    Terminal users, look here! Install ImagessMagick and run

    magisk mogrify -format jpg *.heic

    One-click batch conversion of heic to jpg, automatic inheritance of EXIF, supports all platforms of Linux/macOS/Win. It's just a bit troublesome! I tried it myself and it works!

    • Tomilsonw's avatar
      Tomilsonw
      Iron Contributor

      I spent several hours using this command to convert heic to jpg, but found that the size of the converted jpg file increased dramatically? Why is this?

      • RonaldWhite's avatar
        RonaldWhite
        Iron Contributor

        This is because HEIC compression rate is higher than JPG! It is recommended to adjust the compression ratio when converting: when exporting in batches with professional tools such as Adobe Lightroom, set the quality to 85%-90%, which is the best balance between image quality and size after HEIC to JPG

  • Barbarank's avatar
    Barbarank
    Iron Contributor

    The best way is using a desktop HEIC to JPEG Converter (batch convert, keep exif data and without data loss). The online converters are not safe and the image quality is greatly reduced. You need to take a lot of time for upload and download. For the command line heic to jpg converter tool , they are too challenging for average users.

    • Tomilsonw's avatar
      Tomilsonw
      Iron Contributor

      The best way is using a desktop HEIC to JPEG Converter (batch convert, keep exif data and without data loss). The online converters are not safe and the image quality is greatly reduced. You need to take a lot of time for upload and download. For the command line heic to jpg converter tool , they are too challenging for average users.

      Do you have any suggestions for heic to jpg converter according to my situation?

       

       

  • You can create a new powershell command line script to help you convert heic to jpg on a PC.

    1. Press Win + R and type powershell → right click and select “New File”.

    2. Paste the following code into the file:

    Get-ChildItem -Path "out_path\*.heic" -Recurse | ForEach-Object {
        $newName = $_.Name -replace ".heic", ".jpg"
        [System.IO.File]::WriteAllBytes($_.FullName, [System.Drawing.Image]::FromFile($_.FullName).Save($newName, [System.Drawing.Imaging.ImageFormat]::Jpeg))
    }

    3. Save the file as example.ps1 (be careful to keep the .ps1 extension). Replace the input folder path in the code with the directory where your actual HEIC file is located.

    4. Right-click on the Start Menu and select Windows Terminal (Administrator). Navigate to the directory where the script is located and the script will automatically convert all .heic files in the directory to .jpg and save them in the original folder.

    5. Open the destination folder and confirm the generated .jpg files.

    6. Check that the image quality is normal (some HEIC images may contain transparent backgrounds or EXIF metadata, the script retains the content by default).

    With the above steps, you can efficiently batch convert a large number of HEIC to JPG format. If you encounter problems, it is recommended to try single conversion in priority to verify whether the script is successful or not.

    • Holaway's avatar
      Holaway
      Steel Contributor

      This kind of command tool is not used by ordinary people. I tried it before, but the photos couldn't be opened. If you want to convert heic to jpg easily, you can only use professional tools.

  • Jedidiahin's avatar
    Jedidiahin
    Iron Contributor

    I have tried some online HEIC to JPG conversion tools, but I don't recommend them. After all, uploading personal photos to unknown websites is a bit worrying, especially for privacy issues. Moreover, these tools usually limit the file size, and sometimes the quality of the conversion is unstable. It is recommended to use local applications, such as "Preview", which is more reliable.

  • Asainna's avatar
    Asainna
    Iron Contributor

    You can search for "HEVC extension" (paid) in the Microsoft App Store or install the free plug-in "CopyTrans HEIC". After installation, you can directly preview in the resource manager + drag and drop to copy, and it will automatically convert heic to jpg, saving you the trouble of conversion!

  • Holaway's avatar
    Holaway
    Steel Contributor

    Use Apple's built-in "Preview" app to batch export! Select all HEIC files → right-click to open with Preview → export to JPEG (select the highest quality), perfectly achieve lossless conversion from heic to jpg, and even retain the geographic location information!

    • Tomilsonw's avatar
      Tomilsonw
      Iron Contributor

      Use Apple's built-in "Preview" app to batch export! Select all HEIC files → right-click to open with Preview → export to JPEG (select the highest quality), perfectly achieve lossless conversion from heic to jpg, and even retain the geographic location information!

      I tried this method to batch export HEIC to JPEG using the Preview app, and it was indeed easy, but I encountered some problems. Although I followed the steps to select all HEIC files, right-click to open with Preview, and then export to the highest quality JPEG, the result did not successfully display the converted files. In fact, I encountered some errors during the export process, and the files were not saved or the conversion quality was not as expected.

      Have you encountered similar situations? Or do you know if there are other settings that should be paid attention to in order to ensure a successful export?

  • Mieowo's avatar
    Mieowo
    Iron Contributor

    From my personal experience, Windows 11 does not support HEIC image format till the time I am writing this reply. HEIC images mostly come from iPhones and some Android phones also use HEIC as the default image format such as Samsung and OPPO.

    To convert heic to jpg on Windows 11/10, one simple way is to install the official HEIF Image Extensions from Mirosoft App Store.  Once has it installed on a Windows PC, then you can open the heic images with the built-in photos app. After that, you can export the heic images to jpg or jpeg.

    By doing this, you don't need to install any third-party heic to jpg converters. However, not all heic images not supported and it is not easy to install this extension out of US.

  • Rendiyu's avatar
    Rendiyu
    Iron Contributor

    I summarized my experience and came up with two solutions for you to convert heic to jpg on Windows computer.

    Solution 1: Microsoft official plug-in + built-in drawing tool
    Applicable scenario: a small number of files (less than 10 photos)

    • Install the HEIC decoder (otherwise the Windows system cannot open HEIC):
      -Go to the Microsoft Store and search for HEVC extension → Install the free version "from the device manufacturer" (click this link directly to be faster).
    • Batch conversion operation:
      -Select all HEIC files → right-click "Open with" → select "Paint"
      -Press Ctrl+S in Paint → select "JPEG" as the save type → repeat the operation
      -Disadvantages: You cannot select all and export in batches with one click, and you will be exhausted if you have more than 20 photos.

     

    Solution 2:
    Using iMezing HEIC Converter to convert heic to jpg on Windows computer (no ads)

    • Operation: Drag in the HEIC folder → Select output format (JPG/PNG) → Click "Convert"
    • Advantages: Keep EXIF ​​information, support batch drag and drop
    • Limitations: Free version can convert up to 100 photos/month (enough for home users)
    • CopyTrans HEIC for Windows
    • Operation: After installation, right-click the HEIC file → "Convert to JPEG"
    • Advantages: Integrated right-click menu, single file conversion in seconds
  • Wokhiosk's avatar
    Wokhiosk
    Iron Contributor

    I totally understand! I recommend three zero-threshold solutions, any one of which can solve the heic to jpg conversion problem:

    ▼ Solution ① Desktop tool (recommended)
    Tool:  HEIC to jpg Converter 
    Operation: Download → drag in photos → click convert (supports 500 batches, retains complete EXIF)
    Advantages: Windows/Mac compatible, automatically generates jpg+heic double folders after conversion, original image quality is lossless


    ▼ Solution ② Cloud automation (no installation required)
    Batch export using Google Photos web version: upload heic → select all → automatically convert heic to jpg when downloading (note that you need to climb over the wall)


    ▼ Solution ③ Script repair (for your previous Python problem)
    If you insist on using Python, add two lines to the code:

    from PIL import Image
    img.save("output.jpg", exif=img.info.get("exif")) # Force inheritance of EXIF

    You need to use the pyheif library to read heic first, I will send you the complete script for the example

    • Tomilsonw's avatar
      Tomilsonw
      Iron Contributor

      I want to use the first solution! Will the timestamp of the converted photos be retained?

      • Wokhiosk's avatar
        Wokhiosk
        Iron Contributor

        I want to use the first solution! Will the timestamp of the converted photos be retained?

        Yes, the EXIF ​​information is intact before and after the conversion. Special reminder: If you use the "Photos" application that comes with Windows to import, the timestamp may be reset. It is recommended to copy the file directly using the Explorer.

Resources