Guides

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/..."
}
FieldWhat it holds
titleThe file name the photo was uploaded with
descriptionThe caption, if you wrote one in Google Photos
photoTakenTimeWhen it was taken: seconds since 1 January 1970, UTC, and the same moment as text
creationTimeNot the date taken. Tools that read these files treat it as the upload date
geoDataA place: latitude, longitude, altitude
geoDataExifA second place. Google does not say how the two differ
urlA 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

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.

Each of these is checked file by file in its tests, on exports we built to imitate a Takeout.

Two photos in the preview with their export date struck through and their date from the .json below; the second has a name too long for its .json
The preview, on the sample export that comes with the app. The photo on the right is named Sunset over the old harbour from the evening ferry.jpg; its .json is Sunset over the old harbour from the evening f.json, and it still gets its date.

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.