Do ZIPs and transfers preserve photo metadata? A local check
Compare bytes, SHA-256 hashes, and one EXIF field through a ZIP and an isolated transfer-worker experiment.
“The date changed” can mean several different things: the date shown by a file manager, a date embedded inside the photo, or a date stored by a photo service. Check those separately before deciding that an export damaged your metadata.
Our controlled ZIP and transfer experiment
We created an owned 16 × 16 teal JPEG with the EXIF DateTime tag set to 2026:11:28 12:00:00. This is a deliberately assigned test value, not evidence of a real camera capture date. We checked two routes on November 28, 2026:
- Append that JPEG to a ZIP with archiver, then read the member back with Python.
- Run the actual transfer worker with local source and destination adapters, then save the exact bytes received by the destination adapter.
Both routes preserved all 689 bytes. The source, ZIP member, and locally received transfer file each had the same SHA-256:
c31be91861a3bea631548b39a22e289200c2a8c90e8cb0f5c905d1f9d4fd4956Pillow read the same 16 × 16 dimensions and the same EXIF DateTime value from all three payloads. The comparison script also asserted direct byte equality. The recorded tools were Python 3.13.5 and Pillow 11.3.0.
Inspect the evidence yourself
- Owned source JPEG and JPEG captured at the local upload boundary.
- Test ZIP: inspect
photos/source.jpg. It also contains intentional duplicate text entries; extract only the JPEG into an empty folder. - Full hash, size, EXIF, and duplicate-entry results and inspection script.
Get-FileHash .\source-with-date.jpg -Algorithm SHA256
Get-FileHash .\transferred-source.jpg -Algorithm SHA256
Get-FileHash .\photos\source.jpg -Algorithm SHA256What this tells you about your own files
The controlled result proves that these local routes passed this JPEG unchanged to the archive reader and upload adapter. No real provider account, hosted job, network upload, destination processing, or later re-download was tested. A service can return a different rendition or process an upload after receiving it. A matching local hash cannot establish what a real destination later stores.
- Keep a known original and compare it with the downloaded or re-downloaded copy using a hash tool.
- Inspect embedded fields with a metadata-aware viewer.
DateTime,DateTimeOriginal, GPS fields, and service-only comments are separate fields; our sample tests only the first. - Check how the receiving application sorts the file. A filesystem creation or modification date can differ even when the JPEG bytes match.
- If hashes differ, preserve both copies and compare dimensions and metadata. A difference alone does not identify whether resizing, metadata changes, or a provider rendition caused it.
For Google’s archive-specific date behavior, see the Takeout date guide. Full reproduction steps are in the local lab instructions.
