BERT
BERT is a transformer language model Google added to Search in 2019 to understand the context of words in queries, including small words like 'to' or 'for'.
What is BERT?
BERT (Bidirectional Encoder Representations from Transformers) is a natural language processing model that Google began using in Search in October 2019. It helps Google understand the meaning of words in context by considering the words before and after each word at once. This improves results for longer, conversational queries where small words like “for”, “to” or “no” change the meaning.
Google researchers published BERT in 2018 and open-sourced it, and it quickly became a foundation for many language models. When Google announced BERT in Search, it called it one of the biggest leaps forward in the history of Search and gave the example “2019 brazil traveler to usa need a visa”, where understanding “to” changes which results are relevant.
How it works
- Transformers: BERT uses the transformer architecture, which models relationships between all words in a sentence rather than reading them strictly left to right.
- Bidirectional context: each word’s representation depends on words on both sides, so “bank” in “river bank” and “bank account” are understood differently.
- Pretraining and fine-tuning: the model is trained on large amounts of text to predict masked words, then adapted to tasks such as ranking and featured snippets.
- Use in Search: Google applies BERT to understand queries and to match them with relevant passages, including for featured snippets.
Examples
- A query like “can you get SOC 2 without an auditor” depends on “without”. BERT-style understanding helps surface pages explaining that an independent auditor is required, rather than generic SOC 2 pages.
- “Parking on a hill with no curb” was one of Google’s own examples: before BERT, the word “no” was often under-weighted.
- A B2B SaaS team notices long-tail question queries in Search Console that closely mirror natural speech, a pattern consistent with language understanding systems matching conversational queries to clear answers.
Best practices
- Answer the real question directly in natural language, near the top of the page.
- Keep context together. Do not split one concept across many thin pages.
- Use precise wording. Prepositions, negations and qualifiers should be accurate.
- Cover the topic from the user’s perspective, including follow-up questions.
Common mistakes
- Writing for keyword variations instead of meaning, such as repeating awkward exact-match phrases.
- Believing a “BERT update” penalized a site. BERT improves understanding; ranking losses usually reflect relevance or quality.
- Ignoring long-tail queries, where language understanding matters most.
BERT and AI search
BERT was an early step toward the transformer-based large language models that now power ChatGPT, Gemini, Google AI Overviews and AI Mode. The writing habits that help BERT, clear answers, explicit context and accurate wording, also make passages easier for AI engines to extract and cite. See what is GEO.
Related terms
Sources
Frequently asked questions
What does BERT stand for?
BERT stands for Bidirectional Encoder Representations from Transformers. It is a neural network technique for natural language processing that Google researchers published and open-sourced in 2018, and Google began using it in Search in 2019. The model reads text bidirectionally to capture context.
Can you optimize content for BERT?
Not in a technical sense. Google said there is nothing specific to optimize for BERT. It helps Google understand natural language, so content that answers questions clearly, in plain language and with proper context, benefits most. Avoid awkward keyword phrasing.
Is BERT still used in Google Search?
Google lists BERT among its ranking systems and describes it as playing a critical role in almost every English query. Google has since added other AI systems, such as MUM and the models behind AI Overviews, but BERT remains part of how it understands language.