AI can mean many things: machine learning, large language models, generative AI, and more. Find resources built to help you understand how to effectively use AI in Chrome Extensions.
With Extensions, you can control web content and customize the browser, improving user experience on the web. Take this to the next level with AI.
  • Use AI to help create and comprehend content on the web.
  • Use extension APIs to enrich the bookmark experience, provide a better new tab page or make it easier to re-discover content from your browsing history.
  • Seamlessly embed AI functionality into the browser with a side panel, new-tab page, action bar, or context menus.
You can build AI-powered extensions that summarize text, help with translation, generate content, assist with coding, provide recommendations, personalize user interfaces, and so much more. Check out how the Google Creative Lab team used AI and extensions to build an interactive creative coding experience.

Integrate AI with extensions

Client-side AI is the latest offering for bringing powerful models to users, while protecting sensitive data and improving latency. Client-side AI cannot completely replace and replicate the work you do on the cloud, however, client-side AI can unlock great possibilities for your extensions such as ability to use purpose-built models, faster response times, offline availability and more.
Cloud AI offers a blend of power, scaleability and ease of integration. Cloud platforms provide access to cutting-edge hardware and software, ensuring high performance and continuous improvement through regular updates. The Gemini ecosystem brings together all of Google's models, products and platforms.

Built-in AI APIs

Try the new built-in AI APIs in Chrome extensions.
Discover the infinite possibilities of the Prompt API.
Sign up for the origin trial
Create new content that conforms to a specified writing task.
Sign up for the origin trial
Help your users refine existing text. Make it longer or shorter or change the tone.
Live translate text in the browser and help users contribute in their first language.
Identify the language used in any given text with the Language Detector API.
Generate different types of summaries in varied lengths and formats.

AI-powered extensions in action

Check out the examples that demonstrate what's possible with Gemini in Chrome extensions.
Try out an extension that provides a chat interface for the Gemini API. Explore the code demonstrates how to use the Gemini Cloud API in a Chrome extension.
This extension provides a chat interface using the Prompt API with Gemini Nano in Chrome. Try out the extension and explore the code.
Try out an extension that summarizes the content of the currently open tab, built with the Summarizer API in Chrome.

Origin trials and Early Preview Program

Join the origin trials and start using AI APIs in production.
At Google I/O 2025, we announced APIs that have begun origin trials and a brand new API for Early Preview Program participants.
Chrome collaborated with Google Cloud to fine-tune Gemini Nano with low-rank adaptation (LoRA), to enhance the experience and output quality for all summary styles and lengths.
Join the EPP to provide feedback on early-stage ideas and test in-progress APIs. Your input helps shape the APIs, to ensure they meet your needs, and informs discussions with browser vendors.

Best practices

Follow this guidance to make sure your extensions are safe, secure, and efficient.
For larger, client-side models, trigger the download after the extension is installed. Manage the life cycle of your model independently of your extension and your users won't have to download the model with every extension update. Note that models are not considered remote hosted code.
Never share your keys with Chrome Web Store. Ask users to provide an API key. Proxy calls through your own server. Fetch the API key from your server before using it.
If you're using AI in the cloud or otherwise sharing user input with a server, update your privacy policy to include what information is shared.
Understand the basics and definitions of the various emerging technologies, often referred to as AI.
Learn how extensions work, what they can do, and how to build them.
Discover how AI can make it easier for developers to build powerful experiences on the web.