Convert Once, and Know What You Overwrote
If the detector accepts HEIC, upload the HEIC. The format itself is almost never the reason a score moves. The conversion you perform because the tool refused the file is the reason, and that conversion changes three separate things at once: the codec that wrote the pixels, the number of bits per sample, and the metadata block that carries your EXIF. You can control all three, but only if you stop treating "convert to JPG" as a single harmless step.
The number that frames the whole problem: a 12-megapixel iPhone frame is 190,512 JPEG blocks but only 3,024 HEVC coding tree units at the largest size the standard permits. A detector that reads compression fingerprints is looking at a grid that does not exist in your file. Convert, and it is looking at a grid your converter created — not the one the camera created.
That is the difference between a score about the image and a score about your toolchain. This page is about telling them apart, and about producing one converted file you can defend later.
Three layers, three different fates
"HEIC" is not a compression format. It is a container holding an image coded with HEVC, plus side items. The distinction matters because a JPEG conversion destroys each layer differently.
| Layer | What it actually is | After a HEIC→JPEG conversion |
|---|---|---|
| Container | The Image File Format defined in ISO/IEC 23008-12, which also defines "structures used to contain metadata, how to link that metadata to the images" (ISO/IEC 23008-12:2022, abstract) | Replaced by the JPEG file structure |
| Codec | HEVC, standardised as ITU-T H.265 (2013), High efficiency video coding | Pixels re-encoded by a JPEG encoder conforming to ITU-T T.81 (1992) |
| Metadata item | EXIF and XMP carried as separate items in a QuickTime-based structure — ExifTool lists HEIC as "High Efficiency Image Format (QuickTime-based)" with EXIF readable, writable and creatable (ExifTool documentation) | Carried over only if the converter explicitly copies the block |
Apple's own description keeps the two halves together because users do not need the split: HEIF is the format "for photos", HEVC is the codec "also known as H.265", both introduced with iOS 11 and macOS High Sierra (Apple, 2025, Using HEIF or HEVC media on Apple devices). The site that accepts your file, on the other hand, sees the split whether it wants to or not — and most of them only see the pixels.
Note what Apple does not say. The page states that "HEIF and HEVC offer better compression than JPEG and H.264, so they use less storage space" and "preserving the same visual quality" (Apple, 2025). It gives no percentage, and any page quoting a specific savings figure as if Apple published it is inventing the number.
The grid changes size, and that is not cosmetic
JPEG encodes 8×8 pixel blocks with a discrete cosine transform; the block structure and the quantisation table are both specified in ITU-T T.81 (1992), with an example table in Annex K. HEVC does not work that way. It codes in coding tree units whose maximum luma size is 64×64, split downward by a quadtree, with 8×8 as the smallest transform block (ITU-T H.265, 2013).
Take one iPhone frame, 4032×3024 pixels:
- JPEG at 8×8: 504 × 378 = 190,512 blocks
- HEVC at 64×64: 63 × 48 = 3,024 coding tree units
Sixty-three times fewer, and at a different pitch. Every classic compression fingerprint — the periodicity of block boundaries, the shape of the DCT coefficient histogram, the double-quantisation signature that shows a JPEG was saved twice — is defined relative to the 8×8 grid. Feed a HEIC file to a detector built on those features and, in the strict sense, the features are undefined rather than merely different.
Three consequences follow, and none of the major detector pages mention any of them.
- A HEIC upload may be scored on content only. If the tool's fingerprint features cannot be computed, whatever it does with your file is a fallback — content statistics, or an internal conversion the page performs without telling you, which is the same problem displaced one step.
- A converted file carries your converter's fingerprint. When you export HEIC to JPEG, the 8×8 grid in the resulting file was created by an encoder sitting between the camera and the detector. If that encoder used a different quality setting than the camera's JPEG mode would have, you have handed the detector a different history than the one the photo actually has.
- Codec-level "real photo" evidence is absent from HEIC input. Detectors are trained with a real class that is, in the largest public benchmark, made entirely of ImageNet images — GenImage uses all of them, 1,331,167 real images against 1,350,000 generated (Zhu et al., 2023, arXiv:2306.08571). Those files are JPEG-coded. A genuinely camera-captured HEIC file is therefore outside the training distribution in codec terms even though its content is exactly what the real class is supposed to represent. That is an inference from the dataset description, not a measured error rate, but it explains why a perfectly ordinary iPhone photo can land on the wrong side.
There is a related asymmetry worth knowing. Nearly every AI image in HEIC form is a file someone converted. Image generators do not hand you HEIC; they hand you PNG or JPEG or WEBP. So a HEIC file with AI content almost always has a converter in its history, while a HEIC file with camera content usually does not. A detector keyed to codec traces is partly detecting "was this file touched after generation" — which correlates with the label without being the label.
Bits per sample: the change nobody documents
HEVC in a HEIF container can carry more than eight bits per sample: "HEVC images can have up to 15 bits per sample. HEVC itself allows 16 bits, but the hvcC box of the file format cannot signal this bit depth" (libheif documentation). Baseline JPEG is an 8-bit format (ITU-T T.81, 1992).
If your file is above 8 bits — HDR capture, extended-range workflows — the conversion has to map it down, and the mapping is a choice made by the converter, not by any standard. Do the arithmetic on the depth alone: 10 bits is 1,024 distinct levels per channel, 8 bits is 256. A naive truncation keeps at most a quarter of them; a tone curve redistributes all of them and changes every value.
This is the cleanest explanation of a phenomenon people report constantly and rarely diagnose: two converters, one original, two different scores. Same photo, same detector, same day — but the first file was exported at maximum quality and the second by a web service that resized to 2,048 pixels on the long edge first. You did not test the detector twice. You tested two different images.
Downscaling is the same trap in a plainer form. Halving the long edge keeps a quarter of the pixels, and the resampling filter destroys exactly the high-frequency detail that artifact-based detectors depend on. If the original is 4032×3024 and the converted file is 2048×1536, you have thrown away 74% of the samples before the detector ever ran.
Metadata is an item, not a pixel
ISO/IEC 23008-12 does not merely permit metadata; it "defines structures used to contain metadata, how to link that metadata to the images, and defines how metadata of certain forms is carried" (ISO/IEC 23008-12:2022, abstract). In HEIC the EXIF you care about is one of those items, not an APP1 segment bolted onto the front of a JPEG stream. ExifTool reads HEIC through its QuickTime tag groups precisely because the metadata lives in that ISO base-media structure, not in a JPEG-style header (ExifTool documentation).
A converter decodes pixels and writes a new file. Whether the EXIF item survives depends entirely on whether that converter was written to carry it. Some do it correctly; some drop everything except orientation; some keep the fields but rewrite the timestamps. You cannot tell from the outside, and the file looks identical in a photo viewer either way.
For detecting AI images, the EXIF is close to worthless. For everything after detection — appealing a false positive, proving a photo is yours, showing when it was taken — it is the entire case. The false positive page sets out that evidence chain; every link in it depends on a file that still carries its own history.
Content credentials have the same problem in a harsher form. A C2PA manifest binds to the asset by hash, so any re-encode breaks the binding whether or not the manifest itself survives the container swap. And even before conversion, HEIC is a poor place to look for one: ExifTool can read or delete C2PA data from HEIC but cannot write it (ExifTool documentation), which tells you how thin the tooling still is on the HEIC side.
The conversions you did not perform
Before you convert anything, check whether the file was converted for you. Apple documents three paths that do it silently:
- Sharing. "If sharing this media using other methods, such as AirDrop, Messages, or email, and the receiving device doesn't support the newer media formats, the media might automatically be shared in a more compatible format, such as JPEG or H.264" (Apple, 2025). The sender sees a normal share sheet. The recipient gets a JPEG.
- Importing over USB. Media imported from an iPhone into Photos, Image Capture or a PC "might be converted to JPEG or H.264", and the setting that prevents it lives under Settings, Apps, Photos, Keep Originals (Apple, 2025).
- Screenshots. On Macs running macOS Tahoe 26 or later, with the Screenshot app's capture format set to HDR, "screenshots are captured in HEIF format" (Apple, 2025). A screenshot is already a re-render of the screen; now the re-render can also arrive in a different codec, which stacks two of the problems on this site into one file.
Chat apps that are not Apple's add their own re-encode step, and third-party reports of that behaviour are consistent but not something Apple documents. Treat any photo that travelled through a messaging app as already converted, and ask the sender for the original before you draw conclusions from a score.
The practical check takes one command and works on any platform with ExifTool installed:
exiftool -a -G1 -s photo.heic
If the output shows a FileType of HEIC or HEIF, you have the original. If it shows JPEG and you expected HEIC, the conversion happened upstream and the file's fingerprints belong to whoever did it.
The one-conversion protocol
The goal is a single converted file whose every variable is written down, plus the untouched original kept beside it.
- Freeze the original first. Copy the .heic out of the Photos library into a folder called ORIGINAL and treat it as read-only. Compute a hash so you can prove later which bytes you started from: shasum -a 256 photo.heic on macOS or Linux, certutil -hashfile photo.heic SHA256 on Windows. Record the first eight characters.
- Export through the platform's own path. Apple documents File > Export in Photos or Preview, with a format choice of JPEG or PNG before saving (Apple, 2025). A desktop export runs on your machine. A web converter uploads your photo to someone else's server with unknown encoder settings and unknown retention — a privacy decision before it is a forensic one.
- Choose maximum quality and no resizing. Both settings exist in most exporters and both change the output. Record the numbers you used, not the word "high".
- Do not chain conversions. HEIC to PNG to JPEG is two re-encodes of the same pixels, and the second one quantises a file that was never meant to be quantised. If you must produce a PNG intermediate, treat it as a separate file to test, not as a step toward the JPEG.
- Prove the metadata survived. Run exiftool -EXIF:all -G1 photo.jpg and compare the device, timestamp and orientation lines with the same command run on the .heic. If fields vanished, you still have a usable image file and an unusable evidence file. Note it.
- Confirm the pixel dimensions match. A single number comparison — 4032×3024 in, 4032×3024 out — catches the most common silent resize.
- Write the record. Hash of the original, converter name and version, quality and resize settings, the output hash, the date. Four lines. They are what make a result reproducible in six months, when the detector has quietly changed models and the vendor page still looks the same.
If the .heic is under 20 MB and the tool accepts it, steps 2 through 7 are unnecessary for the detection itself. Do them anyway if you intend to use the score for anything — an appeal, a publication decision, a test record. The original is the only file that was not edited by you.
Reading a score that moved after conversion
You now have two numbers for one photograph. What they mean depends on which of three patterns you see.
| Pattern | What it suggests | What to do |
|---|---|---|
| Score moves by only a few points | The tool is probably reading content, not codec traces | The HEIC and the JPEG agree; use either |
| Score moves sharply in the same direction (both files same verdict) | The tool's evidence is partly compression-based, and your converter changed it | Treat the number as a property of the file, not the image |
| The verdict flips side | There is no stable signal to report; the file you submit decides the answer | Do not use either number in a dispute |
The middle row is the useful one, and it is the one nobody publishes. A tool whose score depends on which converter you used has told you something specific about itself: on unmodified camera files it is not seeing much, and on converted files it is seeing your encoder. That is a legitimate finding about the tool, and it is exactly the kind of thing the ten-minute protocol on how to test an AI image detector is built to surface — with the addition that both files in the comparison must descend from the same original.
What the number is not: an accuracy figure. A detector's percentage is a model confidence about that file, and two tools shown the same image routinely disagree because they were trained differently — the arithmetic of why is on the percentage meaning page. Conversion adds a third source of disagreement, and it is the only one under your control.
Which file to submit
| You are doing this | Submit this | Why |
|---|---|---|
| Checking a photo, tool accepts HEIC | The .heic, untouched | No variable introduced; no converter to blame |
| Checking a photo, tool demands JPEG | One export from the original, settings recorded | A single known variable beats an unknown tool-side conversion |
| Appealing a false positive | Original .heic plus EXIF plus hash | The evidence chain needs the bytes nobody edited |
| Publishing or citing a result | Original, plus both files and settings | Reproducibility; readers can re-run the conversion |
| Photo arrived via a chat app | Ask the sender for the original first | It was converted before you saw it |
| Archiving for a year | Keep the .heic and the JPEG | The JPEG may be the only thing a viewer opens in 2031 |
The last row is not paranoia. Format support on the consumer side lags the format itself, and a decade-old file nobody can open is a worse archive than two files. Storage is not the constraint that matters here.
Where this page stops
Two honest limits.
First, no public study isolates accuracy on HEIC versus JPEG input for these consumer detectors, so nobody can tell you whether a HEIC upload is judged better or worse on average. Anyone who states a figure has either tested a single tool on their own files or made it up. This page deliberately makes no such claim; it tells you what changes and how to keep the change under control.
Second, the codec argument is about mechanism, not about any named product's internals. A detector may convert your HEIC to a normalised tensor before its first layer, in which case the grid discussion describes what happens inside the tool rather than at its input. Either way the metadata item is gone by then, and either way the second conversion is one you did not see.
The one thing you can always do is keep the original.
Short answers
Does converting HEIC to JPEG make an AI image look real? There is no evidence for a direction, and the mechanism cuts both ways: conversion removes camera codec traces from a real photo and removes generator traces from a synthetic one. What is certain is that it adds your converter's traces to both.
Are iPhone photos flagged more often as HEIC or as JPEG? Unknown without testing, and the answer will differ per tool. The test is cheap: same photo, both files, one sitting, and record which one flipped.
Will my EXIF survive the conversion? Depends on the converter, and you can check in five seconds with ExifTool. Device, timestamp and orientation are the three fields to verify; if they are there, the rest usually is.
Do detectors reject HEIC? Some do, and the ones that accept it say so in their format list — Google's SynthID portal lists HEIC and HEIF alongside JPG, PNG, WEBP, AVIF, TIFF and GIF (Google SynthID Detector, format list). If a tool silently accepts a .heic and returns a verdict, ask yourself which of the three layers it actually read.
My file is named .jpg but ExifTool says HEIC. What now? The extension lied, which happens when someone renames instead of converts. Rename it back to .heic before uploading, or the tool may reject the file as corrupt and you will spend an hour debugging the wrong thing.
Is a converted file useless as evidence? Not useless — weaker. It no longer proves what the camera wrote, but paired with the original and its hash it documents the chain. Alone, it proves only that some file existed on the day you converted it.