How to Open and Convert iPhone HEIC Photos in Ubuntu

Copying holiday snapshots from an iPhone onto an Ubuntu laptop only to discover dozens of .HEIC files showing blank icons instead of previews — and refusing to open or upload cleanly in websites — happens because modern iPhones save photos in Apple’s High Efficiency Image format by default.

Adding Ubuntu’s official HEIF support takes under a minute and lets Ubuntu Files display crisp thumbnails, opens photos smoothly in Image Viewer, and converts entire folders cleanly into standard .jpg files.

View HEIC Photos and Thumbnails Natively in Ubuntu Files

Instead of installing sketchy online converters and uploading personal family photos to random websites, add Ubuntu’s standard local HEIF plugin.

  1. Press Ctrl + Alt + T to open Terminal on Ubuntu.
  2. Run sudo apt update && sudo apt install heif-gdk-pixbuf heif-thumbnailer and type your login password when prompted.
  3. Close and reopen the Files window (press F5 if already open).
  4. Ubuntu Files immediately generates photo thumbnails for .HEIC files and opens them smoothly inside the built-in Image Viewer (or GIMP if installed).

Convert HEIC Files to Universal JPG in Seconds

Many older web portals, job forms, and printer kiosks still reject .HEIC uploads and demand classic .jpg files. You can convert one photo or an entire folder locally without losing quality.

  1. In Terminal, install Ubuntu’s official converter tool: sudo apt install libheif-examples.
  2. Navigate into your folder containing the photos (for example cd ~/Pictures, or right-click inside your photo folder in Ubuntu Files and choose Open in Terminal).
  3. To convert a single photo cleanly: run heif-convert photo.HEIC photo.jpg.
  4. To convert an entire folder of uppercase .HEIC photos into .jpg copies at once without deleting originals, run:
    for f in *.HEIC; do heif-convert "$f" "${f%.HEIC}.jpg"; done

If you prefer a graphical click-only tool without Terminal conversion commands, install GIMP from Ubuntu App Center — GIMP opens .HEIC photos directly so you can click File -> Export As… and save as .jpg cleanly.

Make Your iPhone Transfer JPGs Automatically Next Time

To save yourself converting future photos when plugging your iPhone into an Ubuntu PC via USB cable, open iPhone Settings -> Apps -> Photos (or Settings -> Photos on older iOS), scroll to the bottom under Transfer to Mac or PC, and verify Automatic is ticked so iOS converts copies to compatible JPEGs on the fly during USB transfers.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.