Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add HEIC to JPG Conversion in WordPress (Easy Method)

You just snapped the perfect photo on your iPhone, ready to upload it to your WordPress site. But then you see the file format is HEIC, and a moment of panic sets in. Will this even work online?

It’s a common worry, and for a long time, it was a challenge because most web browsers couldn’t display HEIC images. We’ve managed a massive media library here at WPBeginner for over 16 years, so we understand how crucial it is for your images to just work, without any extra steps.

The good news is that WordPress now automatically converts these files for you. You no longer need special software or plugins to get the job done.

In this guide, we will show you exactly how this built-in conversion works and what to do if you run into any trouble.

How to Do HEIC to JPG Conversion in WordPress

Why Use HEIC Images in WordPress?

One of the easiest ways to make the content on your WordPress blog more interesting is to add images. They can boost user engagement and increase pageviews on your site.

We normally recommend using the PNG format for screenshots, the JPG format for photos, and GIF for animations. You should also optimize your images so they don’t slow down your website.

However, Apple and other companies have started using a new image format called HEIC (High-Efficiency Image Container). There is also a HEIF format for photos and a HEVC format for videos.

This file format uses better compression to produce smaller file sizes without losing image quality and is used by iPhone cameras and some Android devices when saving photos.

In WordPress 6.7, HEIC support was added to WordPress. You can now upload HEIC images directly to your WordPress Media Library, just like JPGs and PNGs. You no longer need to convert them to a different format beforehand or use a plugin to convert them.

Tip: If you are still using an older version of WordPress, then you may like to see our beginner’s guide on how to safely update WordPress.

However, not all browsers support HEIC, so WordPress will automatically convert the image to the JPG format so that it can be displayed in any web browser.

WordPress handles this conversion using your web server’s built-in image processing tools. This means that your server needs to have the necessary libraries installed. If they are not, the image will not be converted, and it will not be displayed on your site.

For more details, just see the troubleshooting section at the end of this article.

How WordPress Automatically Converts HEIC to JPG

You can upload HEIC images to WordPress in the same way as you upload other images, such as PNG, JPG, and GIF files. Typically, you will do this by visiting the WordPress Media Library and dragging the image onto the page.

Once the file has been uploaded, WordPress will automatically convert it to the JPG format so that you can use it on your WordPress website.

HEIC Image Automatically Converted to JPG

After testing several HEIC images, we found that the converted images were of the same quality as the originals. This is great for users who want to share high-quality photos.

When you click on the image to view its attachment page (see the screenshot below), you can see that the image is now a JPG file.

While WordPress will display the JPG version on your website, the original HEIC image is retained. This is great because it preserves your original, high-quality photo for future use or download, while still ensuring a compatible version is shown to all your visitors.

It can be downloaded from the image attachment page using the ‘Original image’ link.

Image Attachment Page of a Converted HEIC Image

If you need any help with uploading images to the Media Library, then you can see our guide on how to properly add images in WordPress.

Troubleshooting HEIC to JPG Conversion in WordPress

For the conversion to work, your WordPress hosting server needs the right tools. Specifically, WordPress uses a PHP extension called Imagick, which relies on the ImageMagick software library. To handle HEIC files, your server needs ImageMagick version 7.0.8-26 or newer.

Some hosting providers like Hostinger will already have a recent version of ImageMagick installed, and your HEIC images will be automatically converted by WordPress.

However, that’s not the case for every hosting provider. If ImageMagick isn’t installed on your web server or an older version is installed, then WordPress will not be able to convert your HEIC files, and you will see the following error message.

HEIC Error Message in WordPress When the Correct Version of ImageMagick Is not Installed

Let’s take a look at how you can check which ImageMagick version is installed on your server.

Checking Your ImageMagick Version

Using the Site Health feature on your WordPress dashboard, you can see whether your website has a version of ImageMagick that supports HEIC.

You can find this page by navigating to Tools » Site Health. Once there, you need to click the ‘Info’ tab and then click ‘Media Handling’.

View Media Handling on the WordPress Site Health Page

Now, you can scroll down to the ImageMagick section to see the version number that is installed on your server and the supported file formats.

If you have the right version of ImageMagick, then you will see ‘HEIC’ listed.

Imagick HEIC format support

However, if you have an older version of ImageMagick or ImageMagick is not installed on your server, then ‘HEIC’ will not be listed as a supported file format.

In the screenshot below, you can see that ImageMagick 6.9.10-68 is installed on the server. This is an old version that does not support the HEIC image format.

Viewing the ImageMagick Version in Site Health

For WordPress to be able to convert HEIC files to JPG, your hosting provider will need to update ImageMagick to a later version. Alternatively, you can convert the images to JPG before you upload them to WordPress.

Let’s take a look at each of these options.

Tip: To learn the difference between Imagick and ImageMagick, see our guide on how to enable Imagick on your WordPress site.

Asking Your Hosting Provider to Install a Recent Version of ImageMagick

To update ImageMagick, you can contact your hosting provider and ask them to install and enable ImageMagick 7.0.8-26 or later.

You might like to see our guide on how to properly ask for WordPress support and get it.

If they are unable to update your version of ImageMagick, then you can move your WordPress website over to Hostinger or another host that supports a later version of ImageMagick.

Alternatively, you can simply convert your HEIC files to JPG before you upload them.

Converting Your HEIC Files to JPG Before Uploading Them

If you can’t upgrade to a recent version of ImageMagick on your web host, then you can also simply convert your HEIC images to the JPG format before you upload them.

If you use a Mac, converting images is often straightforward. For example, when you drag a photo from the Photos app to your desktop or share it via email, macOS automatically converts it into the more widely supported JPG format.

Alternatively, you can use image conversion software. The Windows Photo app has a ‘Save a Copy’ feature that can convert HEIC files, and the Mac Preview app can convert HEIC files.

If you prefer an online tool, then you can use the heictojpg tool to convert your HEIC images to JPG. Then, simply upload the JPG files to your WordPress website.

Frequently Asked Questions About HEIC to JPG Conversion

Here are the answers to some of the most common questions we receive about handling HEIC image files in WordPress.

Why does WordPress automatically convert HEIC images to JPG?

WordPress converts HEIC files to the JPG format to make sure your images work on all web browsers. While HEIC is efficient, its browser support is limited, so converting it to JPG guarantees every visitor can see your pictures.

Is HEIC better than JPG?

HEIC files provide similar image quality to JPGs but at a much smaller file size. This is great for saving space on your phone, but JPG remains the standard for the web due to its universal compatibility.

Do I lose image quality when converting from HEIC to JPG?

The conversion from HEIC to JPG is designed to keep the original quality intact. For photos displayed on a website, any tiny loss in quality is usually impossible to see with the naked eye.

Can I upload HEIC files if I have an old version of WordPress?

Support for HEIC files was added in WordPress 6.7. If you are using an older version, you will need to convert the images to JPG yourself before uploading them.

Expert Guides for Using Images in WordPress

Now that you know how to convert your HEIC photos, you may want to see some other guides on how to properly manage images in WordPress:

We hope this tutorial helped you learn how to convert HEIC to JPG in WordPress. You may also want to see our guide on how to create a custom Instagram photo feed or our expert pick of the best WordPress image compression plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

4 CommentsLeave a Reply

  1. Thanks for the advice. Personally, I am an android user, so I have never dealt with these issues on my website. However, then the first person came with this format and it was necessary to solve this. I used to use online converters to convert images to another format but it’s really a very tedious process that no one wanted to do. Thanks for showing how to do it better and more efficiently.

  2. I hate that my wife iphone does that. I’m android user and never have problem with anything, but whenever we have to do something with this iphone it’s a real pain…
    Good to know there is such a solution. Canthis plugin convert those images from heic to webp? Or should i convert heic -> jpg -> webp?

    • For the moment the plugin only converts to jpg, if you wanted webp you would need a second plugin or tool for the moment to convert the images.

      Admin

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.