Google Search History Viewer
Drop in MyActivity.json from the Search folder of your Google Takeout export (the HTML version or the whole zip works too) and get a readable picture of years of searching. The file stays on your computer.
Google Search History Viewer
Open the MyActivity.json or MyActivity.html from Google Takeout and see what you've searched for: top searches by year, searches per month, the hours you search most, and a search box over every query. Nothing is uploaded.
Drop your file here or click to browse
MyActivity.json, MyActivity.html or the Takeout .zip
How to get the file from Google Takeout
- Go to takeout.google.com and click "Deselect all".
- Tick "My Activity", then click "All activity data included" and keep only "Search".
- Click "Multiple formats" and set Activity records to JSON. HTML works too, but JSON is more reliable.
- Create the export, download the zip and drop it here. The file sits in Takeout/My Activity/Search.
Reading your file...
Could not open this file
Dates, months and the heatmap use the time zone of this device.
HTML exports store the clock time Google showed you, so times are read as they appear in the file.
Searches
Different queries
Visited results
Days with a search
Top searches
| # | Query | Times | Last |
|---|
Queries are grouped ignoring upper and lower case.
Top searches by year
Searches per month
When you search
Day of the week against hour of the day. Darker means more searches.
Activity
What Google hands you when you ask for your searches
Takeout can also give you your location history, and the Google Maps Timeline viewer puts that on a map in the same private way.
Google keeps a log of what you type into the search box for as long as Web and App Activity is switched on, and for most people that's been years. You can scroll through it at myactivity.google.com, a day at a time, but there's no way to ask simple questions there. What did I search for most in 2023? How many times have I looked up the same recipe? Do I really search at two in the morning that often? Google Takeout will give you the whole log as a file, and this page turns that file into answers.
Inside the Takeout zip the file lives at Takeout/My Activity/Search/MyActivity.json, or MyActivity.html if you left the format on its default. Each entry is one thing you did: a search, with the exact words you typed, or a visit, when you clicked a result. There's a timestamp on every entry, and sometimes a note about the rough area you were in. It's a plain list, often tens of thousands of entries long, and it isn't much fun to read raw.
What the viewer shows you
If you like seeing your habits as charts, the Spotify streaming history analyzer does the same thing for every song you've played.
- Totals at the top: how many searches, how many different queries, how many results you actually clicked, and on how many days you searched at all.
- Your top searches, counted properly. Weather tomorrow and Weather Tomorrow are the same query, so they're grouped together, with the date you last searched it.
- Top searches for every year in the file, five per year. This is the bit people screenshot. It's a strangely honest little diary.
- A bar chart of searches per month, so you can see the month you moved house, started a new job or got hooked on a hobby.
- A heatmap of day of the week against hour of the day, in your own time zone. If you've ever wondered whether you search more on Sunday nights, here's the answer.
- A search box over every query you've ever typed, plus a year picker and a date range. Everything on the page follows those filters, the counts, the charts and the list.
- The full activity list, newest first, with searches and visited results told apart. You can show only one kind if you like.
- CSV export of whatever you're looking at. Filter to 2022 and the word flights, click export, and you get exactly those rows. The top searches table exports on its own too.
How it reads the queries
Each search entry has a title such as Searched for cheap flights to lisbon. That prefix is translated into your account language, so a Spanish account says Has buscado and a German one says something else again, and a tool that only knows the English words will miss everything. This viewer takes the query from the search link Google stores next to the title, the part after q= in the address, which looks the same in every language. Only when that link is missing does it fall back to a list of known prefixes. Visited entries link through a Google redirect, so the real page address is pulled out of that and shown underneath the page title.
JSON or HTML?
Both open here, but I'd pick JSON if you're making a fresh export. JSON stores every time in a single standard format in UTC, and the viewer converts it to your local time zone, so the hour heatmap is right to the hour. The HTML export writes dates the way Google showed them on screen, in your account language, things like Mar 5, 2024, 9:05:01 PM or 5 mar 2024, 21:05:01. The viewer understands English, Spanish, German, French, Portuguese, Italian, Dutch, Japanese and Chinese date styles. If your file uses something it can't read, it tells you how many entries were affected instead of guessing. Those entries still count in the totals and the top list. They just can't go on a chart without a date.
Size matters too. HTML exports are bulky, often five or six times the size of the JSON for the same history, and 100 MB files are common for long-time users. The viewer reads HTML in chunks and pulls the text out with plain pattern matching. It never puts the file's markup into the page, so nothing in your history can run as code.
Your searches stay on your computer
An exported CSV can be sorted and filtered in the CSV viewer if you'd rather not open Excel.
Search history is about as personal as data gets. It has health worries, money trouble, people you looked up, places you were thinking of moving to. So none of it leaves your browser. There's no upload, no account and nothing saved after you close the tab. Every query is shown as plain text, so even a search for something that looks like HTML or a script tag just shows up as characters. The CSV export is written in the browser too, and any cell starting with an equals, plus, minus or at sign gets a quote mark in front so Excel won't treat it as a formula.
How to export your search history
- Open takeout.google.com while signed in to the account you want.
- Click Deselect all, then scroll down and tick My Activity.
- Click All activity data included and untick everything except Search. You don't need YouTube or Maps for this.
- Click Multiple formats and set Activity records to JSON.
- Click Next step, pick a one-time zip export and create it. Small exports are ready in minutes. Big accounts can take a few hours, and Google emails you when it's done.
- Download the zip and drop it straight onto this page. It finds the Search file inside on its own.
Who finds this useful
Curious people, mostly. Someone who wants their own year in review without handing their history to an app. Writers and researchers who know they looked something up in 2021 and can't remember what they typed. People who are about to delete their history and want a copy they can actually read first. And a few who just want to see the heatmap and confirm what they suspected about their late night habits. Mine had a stripe at 11 pm I wasn't proud of.
What it won't do
It can't show searches you deleted, or anything from times when Web and App Activity was turned off. If it wasn't in My Activity on the day you exported, it isn't in the file. It also doesn't read YouTube, Maps or Chrome history, because those live in their own folders with their own quirks. And it won't send your results anywhere to be analysed. What you see is worked out in this tab, from your file, and that's it.
Got the Gmail part of your Takeout as well? The MBOX viewer opens the .mbox file in your browser.