Download .HEIF Sample Files

Jump to:     File Information     Download     How to Open

What is a HEIF File?

A HEIF file is an image stored in the High Efficiency Image File Format, a container standard developed by the Moving Picture Experts Group (MPEG) as ISO/IEC 23008-12. HEIF itself is only the container: the picture inside is usually compressed with HEVC (H.265), and files coded this way are often saved with the .HEIC extension instead. AVIF images use the same container with the AV1 codec.

HEIF can hold a single photo, a burst or sequence of images, thumbnails, depth maps, transparency and HDR images, along with EXIF metadata. Apple adopted it for iPhone photos with iOS 11 in 2017, Android supports it from version 9, and Windows needs the HEIF Image Extensions from the Microsoft Store.

Download HEIF Sample Files

Below you will find HEIF sample images in three sizes. Use them to test uploads, image conversion, thumbnails and HEIF support in your apps and browsers.

[39.6 KiB]
[121.1 KiB]
[269.7 KiB]

HEIF Sample File Details

SampleDimensionsFile size
Sample 640×427640 × 427 px39.6 KB
Sample 1280×8531280 × 853 px121 KB
Sample 1920×12801920 × 1280 px270 KB

All three files are HEVC-coded HEIF images (brand heic, compatible with mif1) using the HEVC Main Still Picture profile with 8-bit 4:2:0 color, the same color format as iPhone photos. Each picture is stored as a single-tile grid image with an nclx color description, and the files contain no EXIF metadata or embedded thumbnail.

What You Can Test With These HEIF Files

  • Uploads: forms and APIs that need to accept or reject iPhone-style images.
  • Extension checks: the files use the .heif extension but carry the heic brand inside, a good test for apps that compare a file’s name with its content.
  • Conversion: turning HEIF into JPG, PNG or WEBP.
  • Decoder support: 4:2:0 Main Still Picture is the most widely supported kind of HEIF. For a harder test, try our 4:4:4 HEIC samples.
  • Small files: the 640 px sample is only 40 KB, handy for quick automated tests.

How to Open or Convert a HEIF File

# Convert to JPG with libheif
heif-convert sample-640x427.heif sample.jpg

# Convert with ImageMagick (built with HEIF support)
magick sample-1920x1280.heif sample.jpg

# macOS built-in tool
sips -s format jpeg sample-1920x1280.heif --out sample.jpg

HEIF images open in Photos and Preview on iPhone, iPad and Mac. On Windows, install the HEIF Image Extensions and HEVC Video Extensions from the Microsoft Store to view them in the Photos app.

HEIF vs HEIC vs AVIF vs JPG

FormatWhat it isBrowser support
HEIFImage container; usually HEVC insideSafari only
HEICHEIF with HEVC compressionSafari only
AVIFHEIF container with AV1 compressionAll modern browsers
JPGClassic JPEG image, larger filesAll browsers