Give a time zone to photos that have none, without touching the originals

Many cameras write the local time a photo was taken, but not the time zone. Immich then reads that time as UTC, so camera photos land hours away from the phone photos taken next to them. This page reads the date of each photo in a folder, shows which ones carry no time zone, and gives you a zip of small .xmp files, one per photo, with the same local time plus the offset of the zone you pick (summer time included). Immich reads a file named photo.jpg.xmp next to photo.jpg and prefers its date to the one in the photo. Your photos are never changed.

  1. Choose the folder (or the photos) below. They are read in your browser and nothing in this page's code sends them anywhere; the page's security policy also stops its scripts from making network requests.
  2. Pick the time zone the photos were taken in. Photos from different trips need separate runs.
  3. Download the zip and unzip it inside the folder you chose, without replacing any file. It keeps the same subfolders.
  4. In Immich, for an external library: run the sidecar discovery job, then the metadata extraction job for those photos (job names may differ between versions; I have not checked them on a live server). With the Immich command line upload, the .xmp next to each photo is sent along with it.

If you pick photos one by one, also pick the .xmp files that sit next to them. The page only sees the files you give it, so it cannot skip a photo whose sidecar it was not shown.

Possible later tool: the same for videos (3 USD, one time, not built).

Videos store their recording time differently: many cameras write local time where the format expects UTC (not checked against Immich). Nothing is charged now and no date is promised. If you want it, say so in a public comment on the issue below; there is no payment of any kind before I answer there.

Tell me you want it (free GitHub account needed)

Reads JPEG, HEIC and TIFF-based raw files (DNG, NEF, NRW, ARW, CR2, ORF, RW2, PEF, SRW). Raw formats go through the same TIFF reader but were not tested on real raw files. A photo counts as having a time zone when its Exif offset tags, or the dates in its embedded XMP for JPEG, say so; photos with a GPS position are left alone, because Immich can work out the zone from the location (not checked here). Some cameras keep a zone in their own maker notes, which this page does not read. Tested on example files and checked with ExifTool. The page has not yet been tried in a real browser, nor on a real Immich server; if it does not work for you, an issue on the repo helps. Not affiliated with the Immich project; the name is used here only to say which app reads these files. Built with AI assistance, tested with automated tests, not reviewed line by line. No cookies, no browser storage, no analytics, no third-party code. MIT licensed, source on GitHub. Younes Z.