
6 min read
From the studio
We build apps people actually keep.Tinkrd is a small indie studio making focused, high-quality apps for everyday life. See what we're working on.
View our appsBuilding a Chrome extension is one of the fastest ways to ship something real and put it in front of users. The tooling is approachable, the distribution is built in, and you can go from a blank folder to a working prototype in a single afternoon. Here is a straightforward walkthrough of how to actually do it.
Understand what a Chrome extension actually is
A Chrome extension is a small web app that runs inside the browser. It is built with the same HTML, CSS, and JavaScript you already know. What makes it an extension rather than a webpage is the manifest file, a JSON config that tells Chrome what your extension is called, what permissions it needs, and which scripts to load.
Extensions can do a few different things depending on how you wire them up. The three most common pieces are a popup (the small UI that appears when someone clicks your icon), a content script (JavaScript that runs inside the active tab and can read or modify the page), and a background service worker (a script that runs in the background, handles events, and keeps state). You do not need all three. Start with only what you need.
Set up your project structure
No build tool is required to get started. Create a folder and add these files:
my-extension/
manifest.json
popup.html
popup.js
icon.png
Your manifest.json is the foundation. Chrome extensions now require Manifest V3, the current standard. A minimal working example looks like this:
{
"manifest_version": 3,
"name": "My Extension",
"version": "1.0",
"description": "Does one useful thing.",
"action": {
"default_popup": "popup.html",
"default_icon": "icon.png"
},
"permissions": ["activeTab"]
}
Keep permissions minimal. Requesting more than you need will hurt your Chrome Web Store review and make users uncomfortable. Only add a permission when a specific feature requires it.
Build the popup and content script
The popup
Your popup.html is a normal HTML file. Keep it small, a button, a bit of output, whatever your extension actually does. Reference your script at the bottom of the body:
<!DOCTYPE html>
<html>
<body>
<button id='run'>Run</button>
<p id='result'></p>
<script src='popup.js'></script>
</body>
</html>
Talking to the active tab
If your extension needs to read or change the current page, you send a message from the popup to a content script. In popup.js:
document.getElementById('run').addEventListener('click', async () => {
const [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
chrome.scripting.executeScript({
target: { tabId: tab.id },
func: () => document.title
}).then(results => {
document.getElementById('result').textContent = results[0].result;
});
});
For this to work, add "scripting" to your permissions array in the manifest. Test as you go by loading the unpacked extension (more on that next).
Test locally before you publish anything
Chrome makes local testing simple. Open chrome://extensions, enable Developer Mode in the top right, then click Load Unpacked and select your project folder. Your extension appears immediately. Every time you change a file, click the refresh icon on the extension card and reload the tab.
Use the browser console to debug your popup: right-click the extension icon, choose Inspect Popup, and the DevTools panel opens. Content script logs show up in the console of the page it runs on, not the popup. That catches most people the first time.
We ran into this exact confusion when building the first internal tools at Tinkrd. Logging in the wrong console, wondering why nothing was printing. Once you know where to look it is fine, but it is worth knowing early.
For a deeper look at the full development process, the Chrome extension development overview covers architecture decisions and common trade-offs in more detail.
Publish to the Chrome Web Store
What you need before you submit
- A Google developer account ($5 one-time registration fee)
- Your extension zipped (the folder contents, not the folder itself)
- A 128×128 icon, at least one 1280×800 screenshot, and a short promo image
- A clear, honest description
- A privacy policy URL if you collect any user data
The review process
Submit through the Chrome Web Store Developer Dashboard. Google reviews new extensions before they go live. The review usually takes a few days, sometimes longer if you requested broad permissions or your extension does something that needs closer inspection. Write a clear justification for every permission you request. That single thing speeds up reviews more than anything else.
Here is a quick comparison of the main decisions you will make around tools and hosting:
| Choice | Lightweight option | When to upgrade |
|---|---|---|
| Build tool | Plain JS, no bundler | When you need npm packages or TypeScript |
| Storage | chrome.storage.local | When you need sync across devices |
| Backend | None | When features require server-side logic or auth |
| Pricing | Free listing | When you add paid features via external checkout |
If this is your first shipped product, the indie app development journey is worth reading for the broader picture of what launch day actually looks like.
Frequently asked questions
Do I need to know React or a framework to build a Chrome extension?
No. Plain HTML, CSS, and JavaScript are enough for most extensions. Frameworks like React are useful if your popup UI gets complex, but they add build steps and weight. Start without them and add one only when the plain version becomes hard to manage.
How long does Chrome Web Store review take?
Most extensions are reviewed within a few business days. Extensions that request sensitive permissions, like reading all page data, often take longer or get sent back for clarification. Keeping your permission list tight and writing a clear justification for each one is the best way to avoid delays.
Can I charge money for a Chrome extension?
Yes, but the Chrome Web Store’s built-in paid listing option is limited. Most developers handle payments externally, through a web app or a service like Stripe, and use the extension as the interface. You keep more control that way.
What is the difference between Manifest V2 and V3?
Manifest V3 is the current required standard. It replaces background pages with service workers and tightens what extensions can do with network requests. Google has been phasing out V2 support, so all new extensions must use V3. If you find old tutorials using V2 syntax, translate carefully because some APIs changed.
How do I update my extension after it is published?
Increment the version number in your manifest, zip the folder again, and upload the new package in the Developer Dashboard. Google reviews updates too, though they tend to go faster than the initial submission. Users get the update automatically within a day or two of approval.
Building and publishing a Chrome extension is genuinely approachable once you understand the manifest, the three main script contexts, and what the review process expects from you. Start small, test locally, and ship something that does one thing well.
We’re building in the open
Tinkrd is a small studio making thoughtful apps for families. Our first app is launching soon.