What is actually in a Google Takeout export
A maze of product folders with everything interesting buried in JSON files nobody expects you to open. The location history alone has five different shapes.
Written · Updated
A Takeout export is a zip full of folders named after products, with everything interesting buried in JSON files nobody expects you to open. The parts that surprise people are the location history (not a map, a raw list of coordinates with timestamps and an accuracy figure, often millions of them) and the ads folder, which carries the interests that have been inferred about you. TAKEOUT reads the zip in your browser and lays it out by product, without unpacking it and without sending it anywhere. That last part is not a preference here: a Takeout export is the most revealing single file most people will ever possess.
What is in it, roughly in order of how surprising people find it
- Where you have been. Not a picture of a map. A list: latitude, longitude, a timestamp to the millisecond, and how accurate the fix was. Years of it. Every commute, every hospital visit, every night not spent at home, at a resolution good enough to say which building.
- What has been inferred about you. The ads folder carries the settings and the categories you have been sorted into. It is written down in plain language and most people have never seen it.
- Everything you searched and watched, with a timestamp on each. My Activity is one entry per action, going back as far as the account.
- Your browsing history and bookmarks, if Chrome was signed in.
- Your mail, as one mbox file: the entire mailbox in a single document, which is why it is frequently the largest thing in the export by an order of magnitude.
Location history has five different shapes
This is the part that makes "just look at your location data" bad advice. Google has restructured it repeatedly, so where your history lives depends on when you exported and from what:
| Where it lives | What it is |
|---|---|
Records.json | The raw point stream. One entry per fix, often millions. |
Semantic Location History/ | Months of inferred visits and journeys: places named, not just coordinates. |
Timeline Edits.json | Corrections, yours and the system's. |
Timeline.json | The on-device history from an Android phone. |
location-history.json | The same from an iPhone. |
An export can contain any combination of these. A viewer that only knows one of them will tell you there is no location data in a file that is full of it, which is the commonest way people conclude wrongly that they were never tracked.
Why you cannot just open it
Because of the size, and the size is not an inconvenience; it is a wall. A Records.json with three million points is hundreds of megabytes of a single JSON array. A text editor will not open it. Nor will a browser console: JavaScript engines cannot hold a string that long, let alone parse one, so the obvious approach of reading the file and calling a JSON parser on it fails before it starts.
That is the gap every "Takeout viewer" fills, and it is why they all begin the same way: upload the zip.
Which is the one thing not to do
Think about what you would be uploading. Every place you have been for several years. Everything you have searched, including the things you searched at three in the morning. Your whole mailbox. The categories an advertising system sorted you into.
There is no version of that which is worth the convenience, and there is no need for it, because none of the work requires a server.
How it is read without leaving the machine
The awkward parts are solvable and TAKEOUT solves them rather than routing round them:
- The zip is never unpacked into memory. A streaming reader hands each entry over as a run of chunks, and each chunk goes straight into a parser for its format.
- Large JSON is split before it is parsed. A byte-level splitter finds the boundaries of the elements in the top-level array and parses each element on its own, so three million points cost the memory of three million small rows rather than the memory of the file.
- The mbox is read line by line, keeping only the headers that matter: who, when, the subject and the labels. To read the messages themselves, with their attachments, POSTBAG opens the same mbox straight from the zip.
- All of it runs in a Web Worker, so a multi-gigabyte export does not lock the page up, and the page itself only ever asks for one screen of one table at a time.
- The map fetches no tiles. Points are drawn on grid lines instead, because requesting map tiles for your own coordinates would hand a tile server the very thing the page exists to keep off the network.
What it looks like
A small export read in the browser, as an example of the shape rather than of anybody's real data:
| Section | Entries |
|---|---|
| Location history | 3 points, clustered and dated |
| My Activity | 3 searches and videos, each with its timestamp |
| Ads settings and interests | 4 |
| Chrome browsing history | 2 |
| Chrome bookmarks | 1 |
Every table is searchable, and exports as CSV or JSON. The location tracks come out as GPX, which is what a mapping tool expects.
Worth doing while you have it open
- Read the ads interests. It takes a minute and it is the single most informative minute in the export.
- Find out whether location history was on. Many people are certain it was off. The file settles it.
- Check the date range against when you think you started. Exports frequently reach back further than people expect.
- Remember what an export is not. Downloading your data does not delete it, and deleting the zip deletes nothing at the other end. Turning the collection off, and deleting the history, are separate actions in separate settings.
- Keep the zip somewhere sensible. Having made a single file containing your whole life, do not leave it in Downloads. STRONGBOX encrypts it in the browser if you want to keep it.
Alongside: TRAIL reads the GPX that comes out of the location tracks, and does a photo show where it was taken is the same question for a single picture.
Questions people ask about What is actually in a Google Takeout export
What is the most revealing part of a Takeout export?
The location history, and it is not close. Not a map: a list of latitudes, longitudes, timestamps to the millisecond and an accuracy figure, often running to millions of entries across years. Every commute, every appointment, every night not spent at home, at a resolution good enough to say which building.
Where is the location data in the zip?
In up to five different places, depending on when you exported and from what: Records.json for the raw point stream, a Semantic Location History folder of inferred visits and journeys, Timeline Edits.json for corrections, Timeline.json from an Android phone and location-history.json from an iPhone. An export may hold any combination. A viewer that knows only one of them will report no location data in a file that is full of it.
Why can't I just open the JSON file?
Size. A Records.json with three million points is hundreds of megabytes of one JSON array. A text editor will not open it, and neither will a browser console: JavaScript engines cannot hold a string that long, let alone parse one, so reading the file and calling a JSON parser fails before it starts. That wall is what every online Takeout viewer exists to get past, and it is why they all begin by asking you to upload the zip.
Why does uploading it matter so much?
Because of what it is. Every place you have been for years, everything you have searched, your entire mailbox, and the categories an advertising system sorted you into, in one file. There is no version of handing that over that is worth the convenience, and no need for it, since none of the work requires a server.
How is a multi-gigabyte zip read in a browser?
By never holding it. A streaming reader hands each entry over in chunks, each chunk goes straight into a parser for its format, and a byte-level splitter finds the element boundaries in the big JSON arrays so each element is parsed on its own: three million points cost the memory of three million small rows rather than of the file. The mbox is read line by line keeping only the headers. All of it happens in a Web Worker, so the page stays responsive and only ever asks for one screen of one table.
Does the map fetch anything?
No, and that is deliberate. Points are drawn on grid lines rather than over map tiles, because requesting tiles for your own coordinates would hand a tile server exactly the thing the page exists to keep off the network.
Does downloading my data delete it?
No. An export is a copy. Deleting the zip deletes nothing at the other end, and downloading it changes nothing about what is still being collected. Turning collection off and deleting the history are separate actions in separate settings, and doing one does not do the other.
What should I do with the zip afterwards?
Not leave it in Downloads. You have just created a single file containing your whole life, on a machine other people may use, in a folder that gets backed up. STRONGBOX encrypts it in the browser if you want to keep it, and deleting it is a perfectly good answer too.
Related tools
- EXIF, IPTC and XMP: which one is in your photo?Three standards written by three different authors, and the same fact stored in all three.
- Does a PNG have GPS or EXIF in it?It can, and it usually does not: PNG had no way to hold EXIF at all until 2017. Which chunk each thing lives in, and why converting to PNG is not the way to strip a location.
- Why a cropped photo still shows what you cropped outA JPEG carries a second, complete picture inside its EXIF block, written when the shutter fired.
- What a video file gives away about youThe camera, the operating system version, the editor and the moment to the second, and on an iPhone, often not one location but a reading every second or so for the length of the clip.
- What is hidden in a Word documentA .docx is a zip archive full of XML, and the words on the page are only one part of it.
All 13 guides under “What is in a file that you did not put there”.
A letter, now and then
An occasional letter when there is something worth reading: the new guides and what changed in the tools. Never more than once a month and nothing else, and you can leave at any time on the unsubscribe page.