FormatDrop
How-To Guide

How to Convert HEIC to JPG on Linux

Linux doesn't include HEIC support out of the box. If you transferred iPhone photos to a Linux machine — via USB, cloud storage, or network share — the .heic files won't open in most Linux image viewers without additional packages. This guide covers the ways to convert HEIC to JPG on Linux: browser-based (no installation needed), command-line via libheif or ImageMagick, and GUI options.

Step-by-step instructions

  1. 1

    Option 1: Browser-based (no installation needed)

    Open formatdrop.com/heic-to-jpg in Firefox or Chrome. Drop your HEIC files onto the converter. Everything runs in your browser using WebAssembly-compiled libheif — nothing is installed, nothing is uploaded. This works on any Linux distro and is the fastest path for one-off conversions.

    Go to converter
  2. 2

    Option 2: Install libheif command-line tools

    On Ubuntu/Debian: sudo apt install libheif-examples. On Fedora: sudo dnf install libheif-tools. On Arch Linux: sudo pacman -S libheif. After installation: use heif-convert to convert. Command: heif-convert photo.heic photo.jpg. For batch conversion: for f in *.heic; do heif-convert "$f" "${f%.heic}.jpg"; done

  3. 3

    Option 3: ImageMagick with libheif plugin

    ImageMagick can convert HEIC if compiled with libheif support. Check: convert --version | grep -i heic. If HEIC is listed, convert with: convert photo.heic photo.jpg. For batch conversion: mogrify -format jpg *.heic. If ImageMagick wasn't compiled with libheif support, install libheif-examples instead (Option 2).

  4. 4

    Option 4: GNOME Files / Nautilus file manager preview

    On GNOME desktops (Ubuntu, Fedora Workstation): install gdk-pixbuf HEIC support for thumbnail previews. Package: sudo apt install heif-gdk-pixbuf (Ubuntu) or sudo dnf install libheif-freeworld (Fedora, requires RPM Fusion). After installation, HEIC files show thumbnails in Nautilus. For converting (not just previewing), still use heif-convert or the browser-based tool.

Why convert HEIC to JPG?

HEIC uses HEVC (H.265) compression for still images. HEVC is a patented codec with license fees that covered hardware implementation. Many Linux distributions ship without HEVC support by default to avoid potential patent concerns in certain jurisdictions (particularly the US). libheif is an open-source HEIC decoder and encoder library developed by Struktur AG that handles HEIC decoding. It's the backend used by most Linux HEIC conversion tools and is what runs inside FormatDrop's browser-based converter. On Ubuntu, libheif is available in the universe repository since Ubuntu 18.04. On Fedora, the free codec version handles most HEIC files; for files using the H.265 codec specifically, the RPM Fusion rpmfusion-free-release package provides libheif with full H.265 support.

Your files never leave your device

FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.

Frequently asked questions

Why can't I open HEIC files in GNOME Photos or Shotwell?
GNOME Photos and Shotwell use gdk-pixbuf for image loading and need a HEIC plugin. Install: sudo apt install heif-gdk-pixbuf (Ubuntu/Debian) or sudo dnf install libheif libheif-freeworld (Fedora with RPM Fusion). After installation and restarting the image viewer, HEIC files should open directly.
What is the libheif command for batch HEIC to JPG conversion?
After installing libheif-examples: for f in *.heic; do heif-convert "$f" "${f%.heic}.jpg"; done. This loops through all .heic files in the current directory and converts each to JPG with the same filename. Add -q 90 flag for quality control: heif-convert -q 90 photo.heic photo.jpg.
Does converting HEIC to JPG work on ARM Linux (Raspberry Pi)?
Yes — libheif compiles on ARM and is available in the Raspberry Pi OS repository (sudo apt install libheif-examples). Performance will be slower than x86 hardware due to software HEVC decoding without hardware acceleration, but it works correctly. For a 12 MP HEIC photo, conversion takes 2–5 seconds on a Raspberry Pi 4.
Convert HEIC to JPG Now — Free

No account. No upload. Works in any browser.