---
title: "Tool: Download Google search autocomplete keywords"
description: "This tool can download the words predicted by Google's automatic completion, as well as the next layer of predicted words for each predicted word, into a CSV file to facilitate subsequent organization and improve the efficiency of SEO workers when conducting keyword research."
canonical: "https://www.darrenhuang.com/en/google-autocomplete-keyword.html"
markdown: "https://www.darrenhuang.com/en/google-autocomplete-keyword.md"
locale: "en"
language: "en"
translationKey: "post:google-autocomplete-keyword"
type: article
published: "2020-11-22T00:00:00.000Z"
modified: "2023-06-26T00:00:00.000Z"
---

> This Markdown version is generated automatically from the HTML page.
> When citing this content, use the [canonical page](https://www.darrenhuang.com/en/google-autocomplete-keyword.html).

Digital Engine article

# Tool: Download Google search autocomplete keywords

This tool can download the words predicted by Google's automatic completion, as well as the next layer of predicted words for each predicted word, into a CSV file to facilitate subsequent organization and improve the efficiency of SEO workers when conducting keyword research.

Darren Huang·November 22, 2020·4-min readUpdated June 26, 2023

Originally published in Chinese on November 22, 2020. This English translation preserves the original context; referenced products, interfaces, and policies may have changed.

![Google autocomplete keyword download](/wp-content/uploads/2020/11/Google自動完成關鍵字下載.png)

Table of contents10 sections

1.  [Tool usage and instructions](#section-tool-usage-and-instructions)
2.  [1\. Open Google Colab file](#step-1)
3.  [2\. Enter the search word to be queried](#step-2)
4.  [3\. Execute](#step-3)
5.  [4\. Download and generate CSV file.](#step-4)
6.  [5\. Complete](#step-5)
7.  [Where does the data for auto-complete keywords come from?](#section-where-does-the-data-for-auto-complete-keywords-come-from)
8.  [Introduction to Autocomplete API](#section-introduction-to-autocomplete-api)
9.  [Google search auto-complete keyword download tool introduction](#section-google-search-auto-complete-keyword-download-tool-introduction)
10.  [References](#section-references)

**Table of contents**

1.  [Tool usage and instructions](#section-tool-usage-and-instructions)
2.  [1\. Open Google Colab file](#step-1)
3.  [2\. Enter the search word to be queried](#step-2)
4.  [3\. Execute](#step-3)
5.  [4\. Download and generate CSV file.](#step-4)
6.  [5\. Complete](#step-5)
7.  [Where does the data for auto-complete keywords come from?](#section-where-does-the-data-for-auto-complete-keywords-come-from)
8.  [Introduction to Autocomplete API](#section-introduction-to-autocomplete-api)
9.  [Google search auto-complete keyword download tool introduction](#section-google-search-auto-complete-keyword-download-tool-introduction)
10.  [References](#section-references)

Google search autocomplete function (Autocomplete),[claims to save users time every day, which is estimated to add up to more than 200 years!](https://blog.google/products/search/how-google-autocomplete-works-search/#jump-content:~:text=Cumulatively%2C%20we%20estimate%20it%20saves%20over%20200%20years%20of%20typing%20time%20per%20day.%20Yes%2C%20per%20day!)It helps users save typing time, helps Google better understand what you are looking for, and also gives SEO workers an additional channel when doing keyword research.

This article demonstrates how**Download the words predicted by automatic completion and the next layer of predicted words for each predicted word into a CSV file**, which is convenient for subsequent organization. I believe it can save a lot of copying and pasting time. I also hope that everyone can gain better insights from it!

* * *

## Tool usage and instructions

In order to save everyone's time, the methods and steps are listed below. If you are interested in learning more, there will be a more detailed introduction later. In addition, you are welcome to repost or use this tool as a basis for further expansion, but please name the source~

### 1\. Open Google Colab file

Click this[link](https://colab.research.google.com/drive/1oU-ZxI0t_36DJmFzDdrd3D-5ikv1heV0), you will see a copy of "*Digital Engine - Google automatically completes keyword crawling.ipynb "*" file, you can directly operate on it, or you can copy your own version like Google Doc.

![Illustration for Tool: Download Google search autocomplete keywords](/wp-content/uploads/2020/11/step-1-1-1024x379.png)

### 2\. Enter the search word to be queried

Enter the word you want to search in the red arrow in the picture below, one word at a time.

![Illustration for Tool: Download Google search autocomplete keywords](/wp-content/uploads/2020/11/step-2-1-1024x379.png)

### 3\. Execute

Click "Execution Phase" > "Execute All", or the shortcut key Ctrl (Cmd) + F9.

![Illustration for Tool: Download Google search autocomplete keywords](/wp-content/uploads/2020/11/step-3-1-1024x379.png)

### 4\. Download and generate CSV file.

Scroll down and you will see "Complete". Then go to the folder on the left navigation bar to find "output.csv" and download it.

![Illustration for Tool: Download Google search autocomplete keywords](/wp-content/uploads/2020/11/step-4-2.png)

### 5\. Complete

Open it in Excel and you can see the original keywords entered, and the automatically completed predicted words on the first and second levels.

![Illustration for Tool: Download Google search autocomplete keywords](/wp-content/uploads/2020/11/step-5-1.png)

This tool is free for everyone to use, but if you have other needs, such as running a large amount of keyword data, changing languages ​​or regions, automation, or other ideas, please continue reading to learn how to modify it yourself, or write to inquire about business cooperation.

* * *

## Where does the data for auto-complete keywords come from?

The autocomplete function of Google search has a little-known API. This API does not require a key or verification and is quite simple. However,**This API has not been disclosed by Google. It is an unorthodox way. Announcement of[in 2015 In](https://developers.google.com/search/blog/2015/07/update-on-autocomplete-api), Google claims that any unauthorized use may one day expire.**

Despite this, this API can still be used and the data produced is quite accurate. I think you can use it as an additional tool, but don’t rely too much on it, because (1.) this API is not a method approved by Google, (2.) the tool may fail at any time (please leave a message to let us know ~)​​

![Illustration for Tool: Download Google search autocomplete keywords](/wp-content/uploads/2020/11/google%E8%87%AA%E5%8B%95%E5%AE%8C%E6%88%90API%E5%85%AC%E5%91%8A-1024x516.png)

2015.07 Google Announcement on Autocomplete API

* * *

## Introduction to Autocomplete API

The structure of Google's auto-complete API is very simple. Send a GET request to the target location and you can get back a JSON file, which contains the auto-complete predicted words during search.

-   API location:`http://suggestqueries.google.com/complete/search`
-   parameters:
    -   `output`\= required, firefox or chrome
    -   `q`\= Required, search word, spaces separated by plus sign (+)
    -   `hl`\= optional, language setting (e.g. en, zh-TW, jp)
    -   `gl`\= optional, region setting (e.g. us, tw, sg)

Example: Enter in the address bar`http://suggestqueries.google.com/complete/search?output=firefox&q=台積電&hl=zh-tw&gl=tw`can see the returned file.

* * *

## Google search auto-complete keyword download tool introduction

This small tool uses Python and is deployed on Google Colab for everyone to use. The installed plug-ins are several common ones.`requests`, `json`, `fake_useragent`, `pandas`, `time`. The language and region defaults are`zh-TW`and`TW`, this part can be modified by yourself.

This script is not difficult, mainly because the API is simple. I think it is very suitable for practicing with Python beginners. The writing part is not complicated, but in terms of application, there are a few rough ideas for your reference:

1.  is connected to the search volume database, and a column is added to the CSV to show the search volume of each predicted word.
2.  Include "related search" predictions in search results
3.  Retrieve the top 10 web pages in the search results and determine what proportion of web pages have the keyword in the title or description
4.  Better visual presentation

Everyone is welcome to discuss it together. If you succeed, you are welcome to share your code link in the message area!

* * *

## References

-   [Query Google Suggestions API with Python \[by importSEM\]](https://importsem.com/query-google-suggestions-api-with-python/)
-   [Keyword Suggestions using the Google Suggest API and Google Apps Script \[by Blueclaw Media\]](https://www.blueclaw.co.uk/2020/02/06/keyword-suggestions-using-the-google-suggest-api-and-google-apps-script/)
-   [StreamSuggest: Get Google & Bing Autocomplete suggestions at scale! \[by Charly Wargnier\]](https://www.charlywargnier.com/post/streamsuggest)

**Categories**

-   [SEO](/en/categories/seo.html)

**Topics**

-   [SEO](/en/tags/seo.html)

Keep exploring

## Related reading

Saved Facebook note

September 1, 2023

### [15 Common Technical SEO Questions: Turn Checklists into Priorities](/en/notes/facebook-technical-seo-15-common-problems.html)

compiles a list of technical SEO issues for 2023 and puts things like redirects, image alt text, speed, titles, internal links, and indexing back into the order of actual optimization.

Saved Facebook note

July 28, 2023

### [Bad Cloaking Experiment: Do search engines see the same content as users?](/en/notes/facebook-bad-cloaking-experiment.html)

Save an SEO experiment summary about cloaking. The focus is not on imitating black hat techniques, but on understanding the experimental variables, traffic changes, and the causal relationships that cannot be over-interpreted.

Saved Facebook note

May 14, 2023

### [FID to INP: Historical conversion of interactive response speed metrics](/en/notes/facebook-fid-to-inp.html)

Save the 2023 record Core Web Vitals indicator conversion instructions, from user interaction to the next screen drawing, to understand the experience issues that INP wants to measure.

Keep exploring

## Keep reading

[All articles →](/en/articles.html)

### Related articles

October 21, 2020

#### [An Introduction to Passage Retrieval](/en/passage-retrieval-and-seo.html)

[Read article →](/en/passage-retrieval-and-seo.html)

June 2, 2020

#### [Three core indicators of website experience - LCP, FID, CLS](/en/core-web-vitals-lcp-fid-cls.html)

[Read article →](/en/core-web-vitals-lcp-fid-cls.html)

May 27, 2020

#### [How Search Engines Work: Crawling](/en/how-search-engines-crawl.html)

[Read article →](/en/how-search-engines-crawl.html)

×

Open full-size image ↗
