How to Export Google Search History Using Google Takeout?

Exporting your historical Google Search queries through Google Takeout allows you to back up your activity, analyze your search habits, or review past queries offline. By selecting only the My Activity data for Google Search, you can generate a downloadable archive in HTML or JSON format without including unrelated Google services.

Accessing Google Takeout

To begin, sign in to the Google account whose search history you want to export and navigate to Google Takeout. By default, Google Takeout selects data from all Google products associated with your account. Because downloading everything can result in a very large archive, it is best to narrow your selection down to your search activity.

  1. Open Google Takeout in your web browser.
  2. Click Deselect all at the top of the product list to clear the default selections.
  3. Scroll down to locate My Activity and check the box next to it.

Selecting Google Search Data and Format

Once My Activity is selected, you can customize which activity types and file formats are included in your export.

  1. Click All activity data included under the My Activity section.
  2. Click Deselect all in the pop-up window, then check Search (and optionally Image Search or Video Search if you want those included).
  3. Click OK to save your selection.
  4. Click Multiple formats to choose how your data is structured. You can switch the Activity Records format from HTML (easy to read in a browser) to JSON (better for programmatic analysis or importing into other tools).

Configuring Delivery and Downloading the Archive

After selecting your data, scroll to the bottom of the page and click Next step to configure how you want to receive the archive.

  1. Delivery method: Choose Send download link via email or select a cloud storage option such as Google Drive, Dropbox, OneDrive, or Box.
  2. Frequency: Select Export once for a single backup, or schedule automatic exports every two months for a year.
  3. File type and size: Keep .zip as the file type for broad compatibility, and choose a maximum archive size (such as 2 GB). If your search history exceeds that limit, Google will split it into multiple files.
  4. Click Create export.

Google will begin compiling your archive. Depending on how many years of search history you have, this can take anywhere from a few minutes to several hours. When the export is ready, you will receive an email with a download link. Download the .zip file, extract it, and open the Takeout/My Activity/Search folder to view your MyActivity.html or MyActivity.json file.