HEIC/RAW Image Converter

Convert iPhone HEIC, AVIF and camera RAW (CR2, CR3, NEF, ARW, DNG…) to JPG, PNG or WebP.

HEIC/HEIF (iPhone), AVIF or camera RAW (CR2, CR3, NEF, ARW, DNG, ORF, RW2, RAF, PEF…), max 50 MB and 100 megapixels. Deleted after processing; the result can be downloaded for about 2 hours.

When you run the tool, this file is uploaded to our server, processed and then deleted. The files the tool creates stay on our server for about 2 hours: download them to keep them, or save them to your Google Drive.

For JPG and WebP. PNG is always lossless.

More options

Off removes all metadata, including the GPS location.

Rotates the pixels upright. HEIC rotation is always applied because the HEIF format requires it.

Try an example:

More about this tool

Part of Reelcraft Audio, video & images

How it works

Decodes HEIC/HEIF and AVIF photos with libheif and camera RAW files with LibRaw, applies the camera rotation and saves a JPG, PNG or WebP at the quality you choose. Shows the camera, lens and exposure details, and keeps or removes the EXIF metadata as you prefer.

  • The file type is detected from its content: HEIC/HEIF and AVIF by their ISO-BMFF brand, RAW by its TIFF/ORF/RW2/RAF/CR3 signature (for TIFF-based RAW such as NEF/ARW the file extension decides between RAW and plain TIFF).
  • HEIC/HEIF and AVIF are decoded with libheif (heif-convert/heif-dec), which applies the rotation and mirroring stored in the file. RAW files are developed with LibRaw (dcraw_emu): demosaicing (AHD), camera or automatic white balance, sRGB output, 8 bits per channel.
  • ImageMagick encodes JPG/PNG; WebP is encoded with libwebp (cwebp) when installed. Width, height and pixel count are checked before decoding (limit 100 megapixels).
  • With "Keep EXIF" on, exiftool copies EXIF/XMP/IPTC from the original into the new file (without embedded previews) and resets the Orientation tag when the pixels were rotated. Otherwise the output carries no metadata at all.
  • RAW development here is a neutral default rendering. A dedicated RAW editor (Lightroom, darktable, RawTherapee) gives more control over exposure, noise and colour.

Keep your original HEIC/RAW file: converting to JPG or WebP discards detail and dynamic range.

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Reelcraft Audio, video & image batch studio

    Audio, video & image batch studio: cut, convert, compress, subtitle, reframe

    Open Reelcraft

Related tools

  • Image Compressor – Shrink JPG, PNG, WebP, AVIF or GIF images: convert, resize, strip metadata and compare sizes.
  • EXIF Inspector & Cleaner – See all photo metadata (EXIF, GPS, XMP, IPTC, MakerNotes) and download a cleaned copy.
  • Batch Image Resizer & Cropper – Resize or crop up to 30 images at once: exact size, fit, percentage or 1:1, 4:5, 16:9, 9:16.

How to use the HEIC/RAW Image Converter

Convert iPhone HEIC, AVIF and camera RAW files (CR2, CR3, NEF, ARW, DNG and more) to JPG, PNG or WebP, with camera details shown and EXIF kept or removed.

What it is for

iPhones save photos as HEIC, many apps and websites now produce AVIF, and cameras shoot RAW files (CR2, CR3, NEF, ARW, DNG, ORF, RW2, RAF, PEF…). All of them are great for quality and size, and all of them cause trouble when an upload form, an older Windows PC or a print shop only accepts JPG.

This converter decodes HEIC/HEIF and AVIF with libheif and develops RAW files with LibRaw, applies the camera rotation, and saves a JPG, PNG or WebP at the quality you choose. It also shows the camera, lens and exposure details from the original. By default all metadata, including the GPS location, is removed; tick "keep EXIF" to carry it over.

RAW development here is a neutral default rendering: camera or automatic white balance, standard demosaicing, 8-bit sRGB. For real RAW editing (exposure recovery, noise reduction, colour grading), use Lightroom, darktable or RawTherapee. It converts one file per run.

Worked example

IMG_4821.avif, a 1600 × 1068 photo (176 KB) whose EXIF says Apple iPhone 15 Pro, with a GPS position. Output JPG, quality 90, EXIF off:

AVIF → JPEG (quality 90): 1600×1068 px, 176 KB → 300 KB, camera Apple iPhone 15 Pro.

The camera table listed the lens (iPhone 15 Pro back triple camera 6.86mm f/1.78), ISO 64, 1/1250 s, f/1.8, 6.9 mm, the date taken, and "GPS location in original: yes". The output carries no metadata, so the location is gone. With "keep EXIF" on, the JPG was 300,442 bytes instead of 299,942 and carried the camera details and GPS data.

The JPG is larger than the AVIF. That's expected: AVIF and HEIC compress much better than JPG, so a converted file is often bigger at similar quality.

For a RAW test, a 600 × 400 DNG was developed by LibRaw and saved as WebP:

DNG → WebP (quality 85): 600×400 px, 720 KB → 3.90 KB, camera TestCam T1.

How to read the result

  • Metrics: input and output format, dimensions and output size.
  • Camera and exposure table: make, model, lens, ISO, exposure time, aperture, focal length, date, and whether the original contained GPS.
  • Conversion table: format, size before and after, the decoder (libheif or LibRaw) and encoder, and whether metadata was kept or removed.
  • Download of the converted image.

Tips and common mistakes

  • Choose JPG for maximum compatibility, WebP for smaller web images, and PNG only if you'll edit further and need lossless output (files get large).
  • Leave EXIF off for anything you share publicly. iPhone photos almost always contain GPS. Turn it on only for your own archive.
  • Keep your HEIC or RAW originals. Converting discards detail and dynamic range you can't get back.
  • If a RAW conversion looks too warm or too cool, switch RAW white balance from "camera" to "auto" and compare.
  • Images above 100 megapixels are refused. The output is 8 bits per channel, so for 16-bit editing work, use a dedicated RAW editor.
  • NEF and ARW files are TIFF-based, so the file extension decides whether they are treated as RAW. Don't rename them.

FAQ

Will my HEIC photo come out the right way up?

Yes. HEIC rotation and mirroring are always applied, because the HEIF format requires it. For RAW files, applying the camera rotation is on by default and can be switched off.

Why does the converted RAW look flatter than the camera's JPG?

Cameras apply their own picture style (contrast, saturation, sharpening). This tool uses a neutral rendering without those adjustments.

Can I convert many files at once?

Not here: it's one file per run. For JPG or WebP output from many HEIC files, the Batch Image Resizer accepts HEIC in a ZIP and can convert the format.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://heicrawconverter.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://heicrawconverter.usefulweb.site/mcp · tool name heic_raw_converter
Example request
curl -s -X POST https://heicrawconverter.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"file":{"filename":"photo.avif","contentType":"image/avif","contentBase64":"AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUEAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAC0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAABAAAAAMAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgSAAAAAAABNjb2xybmNseAABAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAADVtZGF0EgAKCDgM/thAQIGkMh8YAAooooQAxC02adqijwo4ID0p6Pgn+VaHUuOCSvH4"},"format":"jpeg","quality":85}'
Feedback · ideas & bug reports welcome