Updated 2026-11-23

Build a Chrome extension with AI: tools, plan and store pitfalls (2026)

A Chrome extension is a small web project (manifest.json, a popup, maybe a content script), which makes it a great fit for an AI coding tool. The pitfalls are in publishing: Manifest V3 requires all your logic to ship inside the extension package, and reviewers check that your permissions are minimal.

YouTube summarizer extension

Example idea: โ€œA Chrome extension that summarizes YouTube videosโ€ ยท Share this stack โ†’ ยท Remix it in the matchmaker โ†’

RolePickWhyPriceAlternatives
AI coding toolCursorAI-first code editor. Best all-round pick for writing and fixing real code with AI.Free tier; Plus $8/mo (Grok models only); Premium $30/mo (third-party models billed at API list price)Devin Desktop (formerly Windsurf), GitHub Copilot
PublishingChrome Web StoreWhere you publish Chrome extensions. New publishers can list up to two extensions by default.$5 one-time developer registration fee; Edge and Firefox add-on stores are freeโ€“
AI model APIOpenAI APIGPT models for chat, tool-calling agents, embeddings and vision.Pay per use: GPT-6 Luna $0.10/$0.50, GPT-6.2 Sol $2/$10, GPT-6.2 Astra $8/$40 per 1M input/output tokens; small apps often cost a few $/moClaude API (Anthropic), OpenRouter

Estimated cost: about $1/mo to start, about $50/mo as you grow.

  1. In Cursor, ask for a Manifest V3 extension skeleton (manifest.json, popup, content script) and load it unpacked via chrome://extensions.
  2. Call OpenAI API from a small backend or with the user's own key; never ship your API key inside the extension.
  3. Use it yourself for a week and trim permissions to the minimum (reviewers check this). Bundle all your code in the package: Manifest V3 doesn't allow remotely hosted code.
  4. Publish on Chrome Web Store, then port to Edge and Firefox (both free to list).

Text-rewriting extension

Example idea: โ€œA Chrome extension that rewrites the text I select to sound more politeโ€ ยท Share this stack โ†’ ยท Remix it in the matchmaker โ†’

RolePickWhyPriceAlternatives
AI coding toolCursorAI-first code editor. Best all-round pick for writing and fixing real code with AI.Free tier; Plus $8/mo (Grok models only); Premium $30/mo (third-party models billed at API list price)Claude Code, Replit
PublishingChrome Web StoreWhere you publish Chrome extensions. New publishers can list up to two extensions by default.$5 one-time developer registration fee; Edge and Firefox add-on stores are freeโ€“
AI model APIOpenAI APIGPT models for chat, tool-calling agents, embeddings and vision.Pay per use: GPT-6 Luna $0.10/$0.50, GPT-6.2 Sol $2/$10, GPT-6.2 Astra $8/$40 per 1M input/output tokens; small apps often cost a few $/moClaude API (Anthropic), OpenRouter

Estimated cost: about $1/mo to start, about $50/mo as you grow.

  1. In Cursor, ask for a Manifest V3 extension skeleton (manifest.json, popup, content script) and load it unpacked via chrome://extensions.
  2. Call OpenAI API from a small backend or with the user's own key; never ship your API key inside the extension.
  3. Use it yourself for a week and trim permissions to the minimum (reviewers check this). Bundle all your code in the package: Manifest V3 doesn't allow remotely hosted code.
  4. Publish on Chrome Web Store, then port to Edge and Firefox (both free to list).

FAQ

How much does it cost to publish a Chrome extension?

$5 one-time developer registration fee; Edge and Firefox add-on stores are free. Your AI model usage is the other cost if the extension calls a model API.

Why was my extension rejected for 'remotely hosted code'?

In Manifest V3 all of an extension's logic must be part of the extension package; you can't load and execute remotely hosted files. Bundle your scripts (or put remotely hosted code in a sandboxed iframe, which doesn't work if it needs the page's DOM).

Should the extension call an AI API directly?

Avoid shipping your API key inside the extension, because anyone can read it. Route requests through a small server function that holds the key, and rate-limit it.

Sources

Checked 2026-11-23. Features in beta can change; confirm on the official page.

Email me this stack + starter plan

Email isn't live yet. Signing up here only saves to this browser; nothing is sent.

Have a different idea?

Describe it in one sentence and BuildLobby will build a custom stack and starter plan. Free, no signup.

More guides: Best AI tools for making a game ยท Best tools to build an AI agent ยท Best AI stack for building a SaaS ยท Best AI tools to build a mobile app ยท Best AI website builders and tools ยท The free AI stack: build and launch for $0 ยท Build an AI phone receptionist or voice agent ยท Set up an AI code review bot for GitHub pull requests ยท What should I build first with AI? 3 beginner projects ยท Build a Telegram bot with AI: alerts, AI chat and more ยท Add an AI chatbot to a small-business website ยท Build a Shopify app (or theme) with AI ยท Build a small-business website with online booking

Other guides: How to make a Roblox game with AI ยท The AI game jam stack: ship a game in a weekend ยท Build a Fortnite island in UEFN with AI ยท Make an indie game in Godot with AI ยท AI tools for game art and sound effects ยท Build a Discord bot for your gaming community with AI ยท Godot vs Unity vs GDevelop: which game engine to use with AI? ยท Vibe code a browser game with AI: Base44, Rosebud or Spawn? ยท Make a VR game for Meta Quest with AI ยท Compare AI coding tools