Audio, video & images

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.

For JPG and WebP. PNG is always lossless.

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: AVIF photo to JPG

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.

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}'

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.
Feedback