Blog
Wild & Free Tools

How to Convert HEIC to JPG on Linux — Free Methods That Actually Work

Last updated: January 2026 6 min read
Quick Answer

Table of Contents

  1. Browser-Based Method (No Install)
  2. Command Line with libheif
  3. ImageMagick Method
  4. GNOME / Nautilus Preview
  5. Frequently Asked Questions

Linux doesn't support HEIC files out of the box. Drop an iPhone photo into Nautilus or Dolphin and you'll likely see a broken image icon. Most distros — Ubuntu, Fedora, Debian, Arch — have no built-in HEIC decoder. You have to add support manually, or use a browser-based converter that sidesteps the system entirely.

Here are the methods that actually work, from zero-setup to full command-line control.

Method 1: Browser-Based Converter (Fastest, No Setup)

The simplest fix: use a tool that processes HEIC files directly in your browser. No package manager, no dependencies, no terminal.

  1. Open the HEIC to JPG converter in Firefox, Chromium, or any modern browser on your Linux system
  2. Drag your .heic files into the drop zone (batch supported)
  3. Adjust quality if needed (default 90 is fine for most uses)
  4. Download JPGs individually or as a ZIP archive

The conversion runs entirely inside your browser using browser-native processing. No files are uploaded to any server. Works on every Linux distro without touching your package manager.

Method 2: Command Line with libheif

For terminal users or batch scripts, libheif provides heif-convert:

Ubuntu / Debian:

sudo apt install libheif-examples
heif-convert photo.heic photo.jpg

Fedora / RHEL:

sudo dnf install libheif-tools
heif-convert photo.heic photo.jpg

Arch Linux:

sudo pacman -S libheif
heif-convert photo.heic photo.jpg

To batch convert an entire directory:

for f in *.heic; do heif-convert "$f" "${f%.heic}.jpg"; done

Note: quality control with heif-convert is limited. Use -q 90 flag to set output quality percentage.

Sell Custom Apparel — We Handle Printing & Free Shipping

Method 3: ImageMagick (If libheif Is Installed)

ImageMagick can convert HEIC files, but it requires libheif to be installed as a delegate first. If you've already installed libheif:

convert photo.heic photo.jpg

Or for batch conversion:

mogrify -format jpg *.heic

ImageMagick gives more control over output quality:

convert photo.heic -quality 92 photo.jpg

Check whether your ImageMagick build includes HEIC support: convert -list format | grep HEIC. If you see HEIC listed, you're good.

Enabling HEIC Previews in GNOME / Nautilus

If you want the file manager to display HEIC thumbnails without converting, install the GNOME thumbnailer:

sudo apt install heif-gdk-pixbuf   # Ubuntu/Debian
sudo dnf install heif-gdk-pixbuf   # Fedora

Restart Nautilus after installing: nautilus -q && nautilus &

This lets you preview HEIC files without converting them. For KDE Dolphin, look for kimageformats package — sudo apt install kimageformats on Debian-based systems.

These are for previewing only. You'll still need to convert HEIC to JPG for sharing or uploading.

No Terminal? No Problem.

Convert HEIC to JPG in your Linux browser — no packages, no sudo, no hassle.

Convert HEIC to JPG Free

Frequently Asked Questions

Why can't Linux open HEIC files by default?

HEIC uses the HEVC codec which has patent encumbrances. Many Linux distributions ship without patent-encumbered decoders by default. You need to install libheif (which is open-source) to add HEIC support.

Does heif-convert preserve EXIF metadata?

heif-convert preserves most EXIF data including GPS location, camera settings, and dates. Browser-based converters typically strip EXIF data for privacy reasons.

Can I convert HEIC to JPG on Linux without root?

Yes. The browser-based method requires no system permissions at all — just a modern browser. For command-line tools, you need sudo to install packages, but heif-convert itself runs without elevated privileges.

What's the best quality setting for heic-convert?

Use heif-convert with the -q flag: heif-convert -q 90 input.heic output.jpg. Quality 90 gives excellent results at moderate file size. Quality 100 produces the largest file with no compression artifacts.

Carlos Mendez
Carlos Mendez Photo Editing & Image Writer

Carlos has been a freelance photographer and photo editor for a decade, working with clients from local businesses to regional magazines.

More articles by Carlos →
Launch Your Own Clothing Brand — No Inventory, No Risk