
10 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 appsChrome extension developer mode is a built-in browser setting that lets you load, test, and debug extensions directly from your local files, without publishing anything to the Chrome Web Store. It takes about ten seconds to enable and unlocks almost everything you need to build and iterate fast. If you are building a Chrome extension for the first time, this is where you start.
What Chrome Extension Developer Mode Actually Does
Chrome extension developer mode flips a switch in the Extensions page that exposes three extra controls: Load unpacked, Pack extension, and Update. Without it, Chrome only runs extensions installed from the Web Store. With it on, you can point Chrome at any local folder and run whatever code is inside.
Here is what changes when you enable it:
- You can load an unpacked extension from your file system.
- Each loaded extension shows its ID, version, and an Inspect views link for its background page or service worker.
- You get a Reload button so you can push code changes without removing and re-adding the extension.
- Errors surface inline on the Extensions card instead of failing silently.
None of this requires a developer account or any payment. It is a free feature built into every Chrome install. The only catch is that Chrome will show a small notification bar occasionally reminding you that developer mode is on, which you can dismiss.
How to Enable Chrome Extension Developer Mode Step by Step
Enabling developer mode takes four clicks. Here is the exact sequence.
- Open Chrome and go to
chrome://extensionsin the address bar. - Find the Developer mode toggle in the top-right corner of the page.
- Click it to turn it on. The toggle turns blue.
- The three new buttons (Load unpacked, Pack extension, Update) appear at the top of the page.
That is it. No restart, no flag, no terminal command needed.
Loading an Unpacked Extension
Once developer mode is on, click Load unpacked and select the root folder of your extension. Chrome looks for a manifest.json file in that folder. If it finds one and the manifest is valid, the extension loads immediately and appears in your toolbar.
A minimal folder structure looks like this:
my-extension/
manifest.json
background.js
popup.html
popup.js
icon.png
If Chrome cannot load the extension, it shows a red error card with the specific reason. Usually it is a JSON syntax error in the manifest or a missing required field.
A Minimal Manifest to Get Started
If you are starting from scratch, here is the smallest valid Manifest V3 file that Chrome will accept:
{
"manifest_version": 3,
"name": "My Extension",
"version": "1.0",
"description": "A minimal test extension.",
"action": {
"default_popup": "popup.html"
}
}
Add permissions, content scripts, and a service worker only as you need them. Starting small means cleaner errors and faster debugging. For a much deeper look at the full build process, the Chrome extension development guide covers architecture, permissions, and publishing in one place.
Debugging Extensions in Developer Mode
Developer mode gives you direct access to Chrome DevTools for every part of your extension, the popup, the content script, and the service worker each open in their own DevTools context.
Inspecting the Popup
Right-click your extension’s toolbar icon and choose Inspect popup. A DevTools window opens attached to the popup’s HTML. You get the full console, network tab, and elements panel, the same tools you use on any webpage.
Inspecting the Service Worker
On the extension’s card at chrome://extensions, click the Inspect views: service worker link. This opens DevTools connected to your background service worker. All console.log calls from background.js appear here.
Inspecting Content Scripts
Content scripts run inside the page they are injected into. Open DevTools on any tab where your content script is active (F12 or right-click, Inspect). In the console, use the context dropdown at the top to switch from the page’s own context to your extension’s content script context. Your logs and errors show up there.
Reading Extension Errors
Each extension card on chrome://extensions shows an Errors button if something has gone wrong. Click it to see a log of runtime errors, including the file name, line number, and stack trace. This is faster than hunting through DevTools tabs when something breaks at load time.
Common Problems and How to Fix Them
Most errors in developer mode fall into a small set of patterns. Here is a plain reference for the ones that show up most often.
| Error message | Likely cause | Fix |
|---|---|---|
| Could not load manifest | JSON syntax error in manifest.json | Run the file through a JSON validator and look for trailing commas or missing brackets |
| Manifest version 2 is deprecated | Using manifest_version: 2 |
Migrate to Manifest V3. Chrome is no longer accepting MV2 extensions for new submissions. |
| Service worker registration failed | Syntax error in background.js or wrong path in manifest | Check the background.service_worker path and open the file in a linter |
| Permission denied for host | Missing or wrong host permissions in manifest | Add the correct host pattern to host_permissions in the manifest |
| Extension does not appear in toolbar | No action defined or extension is pinned off |
Add an action field in manifest, then click the puzzle icon in Chrome to pin it |
One habit that saves a lot of time: keep the chrome://extensions tab open in a separate window while you develop. When you save a file change, click Reload on the extension card, then test. That loop is faster than reopening DevTools every time.
Developer Mode Versus Published Extensions
Developer mode extensions and published extensions behave almost identically, but there are a few real differences worth knowing before you ship.
What Stays the Same
Permissions, content scripts, storage APIs, and messaging all work exactly the same in developer mode as they do in a published extension. Whatever you test locally is what users will get, assuming Chrome version compatibility.
What Is Different
Published extensions are signed by Google and get a stable extension ID tied to your developer account. Unpacked extensions in developer mode get a temporary ID generated from the folder path. This matters if your extension uses OAuth, because OAuth clients are tied to a specific extension ID. If you need a consistent ID during development, you can force one by adding a key field to your manifest. The Chrome extension key documentation explains how to generate and use one.
The other difference is enterprise policy. On managed machines (common in schools and corporate environments), IT administrators can disable developer mode entirely via group policy. If you are building for a managed environment, test on an unmanaged machine or a personal Chrome profile.
Packing an Extension for Local Distribution
If you want to share a pre-release build without publishing it, use the Pack extension button in developer mode. Chrome produces a .crx file and a .pem private key. Users can install the .crx by dragging it into the Extensions page while developer mode is on. Keep the .pem file safe. It is what lets you update the packed extension later with the same ID.
Tips for a Faster Development Loop
A few small habits make working in developer mode noticeably less painful, especially on a small team where time is tight. We learned most of these while building internal tooling at Tinkrd, our small app studio in California.
- Use a dedicated Chrome profile for testing. A separate profile keeps your dev extensions isolated from your personal ones and prevents conflicts.
- Reload with a keyboard shortcut. Chrome does not have a built-in shortcut for reloading an unpacked extension, but you can add a button to your extension’s own popup that calls
chrome.runtime.reload()during development. Remove it before publishing. - Log to the background console liberally. Content script logs are easy to miss. Passing important events to the background service worker and logging there keeps everything in one place.
- Test on multiple Chrome versions. Chrome updates automatically, but if your extension targets enterprise users, some will be on older versions. Chrome release notes document API changes by version.
- Watch for service worker timeouts. Manifest V3 service workers go idle after 30 seconds of inactivity. If your background logic depends on persistent state, move it to
chrome.storageinstead of in-memory variables.
If you are still deciding whether to build an extension at all, this breakdown of what it actually takes to build a Chrome extension yourself is a good honest starting point before you commit the time.
Frequently asked questions
Does enabling developer mode put my browser at risk?
Enabling developer mode itself is harmless. The risk comes from loading extensions from unknown sources, since an unpacked extension can request broad permissions just like any other extension. Only load extensions you wrote or fully trust. If you are concerned about a specific extension’s permissions, the chrome://extensions page shows them all before you grant anything.
Why does Chrome keep showing a warning that developer mode is on?
Chrome shows a notification when it starts up with developer mode enabled as a security reminder for non-developer users. You can dismiss it each time or, if it bothers you during active development, switch to a dedicated testing profile where the reminder is expected. There is no way to permanently suppress it in a standard Chrome install.
Can I publish an extension that I developed and tested in developer mode?
Yes, the extension you tested in developer mode is the same code you submit to the Chrome Web Store. You zip the folder, upload it through the Chrome Web Store developer dashboard, and Google reviews it. The review process checks for policy compliance and security, not whether you used developer mode during development.
My extension works in developer mode but breaks after publishing. What is wrong?
The most common cause is a mismatch between the extension ID used during development and the one assigned by the Web Store. If you use OAuth or any service that requires a whitelisted extension ID, update those settings with the published ID. Also check that all files referenced in the manifest are actually included in your zip upload, since it is easy to miss a file that existed locally but was not packed.
Can I use developer mode to modify or inspect extensions I installed from the Web Store?
Developer mode shows you more detail about installed extensions, including their IDs and manifest, but it does not give you access to their source files. Web Store extensions are installed in a protected directory and are not editable through developer mode. If you want to study another extension’s code, you need to unpack its .crx file manually using a zip utility, which is a separate process outside of Chrome’s UI.
Chrome extension developer mode is a simple toggle with a lot of power behind it. Get comfortable with the load, inspect, reload loop early and most of the debugging work becomes routine. The fundamentals here apply whether you are building a quick personal tool or something you plan to ship to thousands of users.
We’re building in the open
Tinkrd is a small studio making thoughtful apps for families. Our first app is launching soon.