How to Convert HEIC to JPG on Linux — Free Methods That Actually Work
- Linux has no native HEIC support — most distros can't open .heic files out of the box
- A browser-based converter is the fastest fix — no packages, no dependencies, no terminal
- Command-line users can install libheif via apt or dnf for batch terminal conversion
- GNOME and KDE file managers need a plugin to preview HEIC files
Table of Contents
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.
- Open the HEIC to JPG converter in Firefox, Chromium, or any modern browser on your Linux system
- Drag your
.heicfiles into the drop zone (batch supported) - Adjust quality if needed (default 90 is fine for most uses)
- 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.jpgFedora / RHEL:
sudo dnf install libheif-tools
heif-convert photo.heic photo.jpgArch Linux:
sudo pacman -S libheif
heif-convert photo.heic photo.jpgTo batch convert an entire directory:
for f in *.heic; do heif-convert "$f" "${f%.heic}.jpg"; doneNote: quality control with heif-convert is limited. Use -q 90 flag to set output quality percentage.
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.jpgOr for batch conversion:
mogrify -format jpg *.heicImageMagick gives more control over output quality:
convert photo.heic -quality 92 photo.jpgCheck 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 # FedoraRestart 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 FreeFrequently 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.

