Google Takeout .json files: what they hold, can you delete them
Published
You unzipped a Google Photos Takeout and found a .json file next to almost every photo and video, with nearly the same name: IMG_0001.jpg.supplemental-metadata.json beside IMG_0001.jpg. Before you delete thousands of them, it is worth knowing what they hold.
What they are
They are Google's record of what Google Photos knows about each file. Google's help page on Takeout says: "Any additional metadata that isn't from the original file, like comments within Google Photos, are downloaded to a secondary JSON file." The photo itself is the file you uploaded, with whatever date the camera wrote inside it.
A .json file is plain text. Open one in Notepad, or show it in PowerShell from its folder:
Get-Content "IMG_0001.jpg.supplemental-metadata.json"
What is inside
Google does not document these files. This is their shape, shortened, with made-up values:
{
"title": "IMG_0001.jpg",
"description": "",
"creationTime": { "timestamp": "1568219400", "formatted": "..." },
"photoTakenTime": { "timestamp": "1565627400", "formatted": "..." },
"geoData": { "latitude": -23.5505, "longitude": -46.6333, "altitude": 760.0 },
"geoDataExif": { "latitude": -23.5505, "longitude": -46.6333, "altitude": 760.0 },
"url": "https://photos.google.com/photo/..."
}
| Field | What it holds |
|---|---|
title | The file name the photo was uploaded with |
description | The caption, if you wrote one in Google Photos |
photoTakenTime | When it was taken: seconds since 1 January 1970, UTC, and the same moment as text |
creationTime | Not the date taken. Tools that read these files treat it as the upload date |
geoData | A place: latitude, longitude, altitude |
geoDataExif | A second place. Google does not say how the two differ |
url | A link to the photo in Google Photos |
Some files have more, such as people, favorited or googlePhotosOrigin.
The timestamp has no time zone. The one above is 13:30 in São Paulo and 01:30 the next morning in Seoul. To place a photo in the local time of where it was taken, a tool needs its place.
The same file, as ExifTool reads it
ExifTool reads .json files too. In Command Prompt, exiftool -s and the file name lists every value under the name the merge commands use. On our made-up file it printed, among other lines:
Title : IMG_0001.jpg
PhotoTakenTimeTimestamp : 1565627400
GeoDataLatitude : -23.5505
GeoDataLongitude : -46.6333
GeoDataAltitude : 760
Album folders also hold a metadata.json. It describes the album, not a photo.
Why the names look cut off
Older exports name the file after the photo plus .json: IMG_0001.jpg.json. Since late 2024, exports have used IMG_0001.jpg.supplemental-metadata.json, though not every time. Takeout cuts the whole name to about 51 characters, so a long photo name gets an ending such as .supplemental-me.json, or loses the ending and part of its own name. A second photo with the same name gets a number after the ending: IMG_0125(1).jpg has IMG_0125.jpg.supplemental-metadata(1).json. An edited copy, IMG_0001-edited.jpg, has no .json of its own.
None of this is documented by Google. The supplemental-metadata names, explained has the examples and the reports they come from.
Can you delete them?
Not before the dates are inside the photos. For a file with no date of its own, and for any date, place or caption you changed in Google Photos, the .json is the only copy.
To see how many files depend on them, list the files with no date inside. The command is in Wrong dates after Google Takeout. To count the .json files, run this in PowerShell from your Takeout folder (album metadata.json files are counted too):
(Get-ChildItem -Recurse -Filter *.json).Count
Once the dates and places are inside the photos, and you have checked a few in File Explorer's Details tab, the .json files have done their job. Keep the original zip files anyway. They are the export as Google made it, and you can start again from them.
Merge them yourself, for free
ExifTool can copy the date, place and caption from each .json into its photo with one command. Merge Google Takeout .json files into your photos gives the command as we tested it on Windows. The comparison covers the free tools that do the pairing for you.
Where the free way falls short
- One name rule. An ExifTool command finds the
.jsonby a single rule, such as the photo's name plus.supplemental-metadata.json. Cut names, numbered copies, edited copies and the video half of a Live Photo do not follow it, and those files get nothing. - Places of 0, 0. If a
.jsonholds 0.0 for latitude and longitude, the usual command writes that as a real position, in the Atlantic off West Africa. The merge guide has a command that removes it. - No list of what was left. The only record of the files it skipped is a warning for each in the window.
Datestitch in about a minute
Datestitch recognises a .json by what is inside it, a photoTakenTime, not by its name. Add your Takeout zip files, check the free preview, then copy and fix into a new folder.
- It accepts any cut of the
.supplemental-metadataending, numbered copies in old and new naming, edited copies in five account languages, the video half of a Live Photo, and a.jsonwhose name follows no rule but whosetitlenames the photo. - When it cannot tell which photo a
.jsonbelongs to, it pairs neither: a wrong date is worse than none. - A place of 0, 0 is not written. A place already in the photo is kept.
- The report lists every file, where its date came from, and the files it could not date.
Each of these is checked file by file in its tests, on exports we built to imitate a Takeout.
What Datestitch does not do
We have tested Datestitch only on exports we built to imitate a Takeout, in five account languages. It has not yet run on a real Google Takeout.
- Run on a Mac or Linux. It is for Windows 10 and 11, 64-bit.
- Carry captions or faces. It writes dates, places and album folders. Descriptions and the other fields stay in the
.json. - Delete anything. Your Takeout is only read. The
.jsonfiles stay where they are. - Show every file in the preview. JPEG and PNG files get a thumbnail. HEIC files and videos get a plain tile.
- Install without a warning. The installer is not code-signed yet, so Windows asks before it runs it.