How to publish a Chrome extension to the Chrome Web Store

By

Tagged: JavaScript

Publish your Chrome extension with a clean ZIP, store listing, privacy disclosures, permission justifications, review instructions, and tested updates.

Publishing a Chrome extension is half packaging and half explaining your work to strangers who can’t see your editor. You hand Google a ZIP file, a store listing, privacy disclosures, and a clear reason for every permission you ask for, and a reviewer checks all of it before anyone can install it.

I still distribute Repo Foyer, my GitHub home-page extension, as a direct unpacked download, so here we’ll walk through the Chrome Web Store flow with Page Notes, the extension from my Chrome extension tutorial. It saves notes tied to web pages. If you want to build the extension first, start with that tutorial.

Fig 1 · 1/3A store release is a review workflow
A ZIP and the listing describe the extension and its requested access.

Test the release without your development setup

Before you even open the developer dashboard, put together a clean release folder that contains only the files your extension ships.

Your normal dev folder hides all kinds of packaging bugs. A popup might load a stylesheet that sits in your repo but gets missed by your build script, or a bundled library might try to fetch remote code that Manifest V3 blocks. Testing from a stripped-down folder catches that before Google does.

Turn off your local dev server, open a fresh Chrome profile (so old saved data can’t mask broken first-run code), go to chrome://extensions, and load that folder with Developer mode → Load unpacked.

With Page Notes, walk through the whole flow: save a note, close the popup, reopen it, and return to the page after restarting Chrome. Try a restricted page too, like a browser settings page where script injection is blocked, and check that the extension shows a clear message.

If your extension talks to an API, test an expired token and a failed network request as well. Real users hit both all the time, so show a clear explanation instead of leaving them with a blank popup.

Register the developer account

Head to the Chrome Web Store Developer Dashboard signed in with the Google account you want to own the extension. Pick an email address you plan to keep for the long haul, because moving ownership later is a headache.

To finish developer registration, you accept the terms and pay a one-time fee (check the current amount on the registration screen before you pay). That sets up your publisher account, and every extension you upload still goes through Google’s review.

Fill out your publisher profile and verify your contact email with an inbox you read regularly. Google sends review decisions and policy warnings there, and even an extension you published months ago can suddenly need an update to stay compliant.

You also need 2-Step Verification enabled on the account before you can publish or push updates, so turn that on before you schedule a launch date.

Check the manifest and permissions

Your store package uses the same manifest.json you already have, and any new extension needs to target Manifest V3.

Before you zip anything up, double-check the name, short description, and version field so they match the release you want to submit. Here’s what the metadata section looks like:

{
  "manifest_version": 3,
  "name": "Page Notes",
  "version": "1.0.0",
  "description": "Save a private note for the page you are visiting."
}

That snippet only shows the metadata fields, so keep your action, scripts, icons, and permissions right alongside them in the real file.

Next, go through every permission in the manifest as if you were a user deciding whether to trust the install prompt. You need a clear feature tied to each one. For Page Notes, each permission maps directly to a piece of the extension:

PermissionWhy the extension needs it
storageSave and retrieve the user’s notes.
activeTabAccess the current page after the user invokes the extension.
scriptingRun the packaged content script that displays the note on that page.

Match your justifications to what your code does right now. If your extension never injects a content script, drop scripting instead of copying it over.

Ask for the narrowest access that works. If your extension only runs when someone clicks the toolbar button, temporary activeTab access is a much easier sell than asking for permission on every website, while an extension that reacts automatically on a specific site needs targeted host access instead. Google’s permission warning guidelines break down how each permission affects the warning users see.

Strip out any unused permissions before you package. Holding onto extra access for a feature you might build next month just slows down review.

Build a clean ZIP

manifest.json has to sit right at the root of the ZIP archive. If you zip the whole project folder and end up with an extra wrapper directory inside, the store won’t accept it.

For Page Notes, start from the project root by creating a fresh staging folder and copying only the release files into it:

mkdir -p releases
EXTENSION_STAGE=$(mktemp -d /tmp/page-notes-store.XXXXXX)
cp manifest.json popup.html popup.css popup.js content.js service-worker.js "$EXTENSION_STAGE/"

If your manifest points to icons, bring that folder along too:

cp -R icons "$EXTENSION_STAGE/icons"

Using a bundler? Stage the compiled build output instead of your source directory, making sure every file the manifest references (plus any assets those files load) makes it in.

Now move inside the staging folder to build the archive, and use a new output filename so an old ZIP can’t hold onto files you removed from this release:

STORE_ZIP="$PWD/releases/page-notes-1.0.0.zip"
(cd "$EXTENSION_STAGE" && zip -r "$STORE_ZIP" .)
unzip -l "$STORE_ZIP"

If a ZIP with that name is already sitting there, delete it first or bump the filename.

Check the contents of the archive before you upload it. You want manifest.json at the top level next to your runtime files, with zero .env files, API tokens, private signing keys, or browser profiles sneaking in.

Finally, unzip that exact file into a brand-new folder and load it unpacked in Chrome. Testing the extracted ZIP catches packaging mistakes that testing the staging folder alone can miss. You can check Google’s preparation guide for the full list of package rules.

Check dependencies for remotely hosted code

Manifest V3 doesn’t allow remotely hosted executable code. Pulling a JavaScript library from a CDN is fine on a regular website, and it will get an extension rejected.

Bundle every piece of code your extension runs right inside the package. Inspect your bundler’s output, including dynamic imports and web workers, because your own source files can look completely self-contained while a third-party dependency pulls in extra scripts at runtime.

Fetching data from an API is totally fine, as long as you treat it as data. Downloading note text from a server is normal; downloading JavaScript and evaluating it is what triggers the remote-code restriction.

Read Google’s remotely hosted code guide for the exact rules and exceptions. When the dashboard asks you to declare whether you use remote code, remember that your answer covers all your bundled dependencies, not just the files you wrote yourself.

Create the item and listing

In the developer dashboard, click Add new item and upload your ZIP. Once Chrome validates the package, it creates the draft item so you can fill out the store listing.

Write the description around what a user gets the moment they install the extension. For Page Notes, a good opening line is straightforward:

Save a note for the page you’re visiting, and find it again when you return.

From there, explain how to open it, where the note shows up, and where it gets stored. If your extension requires an account or a paid plan, state that clearly up front so nobody is surprised after installing.

Take your screenshots with realistic demo content, and scrub any private URLs, email addresses, or tokens before you capture. An empty popup only shows the UI, whereas a popup filled with a sample note immediately tells someone why they’d want the extension.

Check Google’s image requirements for the exact dimensions. At minimum, prepare a 128×128 store icon, a 440×280 small promotional tile, and crisp screenshots in a supported size like 1280×800, then verify in the dashboard that every required asset is uploaded.

Add a link to a real support page where users can report bugs after launch. For a small extension, a short page listing known limitations and a way to contact you is plenty.

And keep the listing honest to the build you just uploaded. Save roadmap items and future ideas for your own notes.

Write useful privacy disclosures

Keeping everything in local storage still counts as handling user data. Google’s user data FAQ spells this out, including data that never leaves the user’s machine.

For Page Notes, spell out that the extension handles notes and page URLs, where it stores them, whether anything leaves the browser, and how users can delete their notes.

Verify your code before claiming storage is purely local. chrome.storage.local and chrome.storage.sync behave differently, and an error tracker or analytics library can still phone home even when the core feature runs offline.

Build your privacy policy from those exact details and host it at a stable public URL you can link in the dashboard. A small extension only needs a short policy, as long as it accurately reflects what the code does.

If your extension relies on an auth token, state where you store it and which service it talks to. Set up a dedicated demo account for review, and make sure a production token with access to your private repositories never slips into a screenshot or your ZIP.

Next, fill in the Privacy practices fields: your single purpose, permission justifications, and data declarations. Base every answer on the finished code, and double-check that your privacy policy and store description all tell the same story. Chrome’s permission warning tells users what the extension is allowed to touch, while your privacy explanation tells them why you need it.

Give the reviewer a working test path

Whenever your extension needs login credentials or any special setup, fill out the test instructions in the dashboard so the reviewer isn’t left guessing.

Write short numbered steps starting from a fresh install. Include a demo account if the extension needs one, name the exact kind of page to open, and say what should happen after each step.

For Page Notes, the walkthrough looks like this:

  1. Open a normal HTTPS page in a tab.
  2. Open the extension and save the text “Read this section again”.
  3. Close and reopen the popup, then confirm the note remains.
  4. Remove the note and confirm it disappears.

If your extension works with a specific website account, give the reviewer enough access to test the real feature without handing over production data, and keep that test account alive until the review finishes.

Before you hit submit, run through your own steps word for word in a clean Chrome profile to make sure everything works the way you described.

Choose visibility and submit for review

Head to the distribution settings to pick who can see the extension: public in the store, unlisted via a direct link, or limited to a private test group. Keep in mind that anyone with the URL can still open an unlisted listing, so use private distribution if you want to restrict access.

Pick your release timing next. In the submission flow, you can have Chrome publish the extension automatically once it’s approved, or defer publication so you trigger the release yourself. Deferred approvals expire after a set window shown in the dashboard, so don’t leave an approved build sitting there forever.

Once everything looks right, submit the item for review and keep an eye on your publisher email and the dashboard for updates.

How long review takes depends on the extension. Google’s review process combines automated checks with manual review, and broad permissions or hard-to-inspect code usually take longer. Hold off on promising users an exact launch day until you have approval in hand.

If Google rejects the submission, read the exact reason they give and fix the underlying package or disclosure issue. Rewording the store description while shipping the same code won’t get past a permission or data-handling flag.

Test the installed store version

Once the extension goes live, open a clean Chrome profile and install it straight from the store listing. Disable your local development copy first so you’re sure you’re testing the real store build.

Walk through the main flow from scratch. Try the initial setup, save some data, deny a permission to see how the UI reacts, and test a failed network request if your extension talks to a server. While you’re on the public listing page, click your support and privacy links too so you catch any broken URLs right away.

If some users are coming from a side-loaded build, check what happens to their existing data. An unpacked copy and a store copy can end up with different extension IDs, which means they won’t automatically share storage. Add an export and import flow if people have data worth keeping, or at least document the manual setup steps. That’s worth sorting out before moving an extension like Repo Foyer to the store, because switching to an easier install shouldn’t wipe someone’s settings.

Publish updates without losing user data

Always upload updates to your existing store item. If you create a new item instead, Chrome treats it as a completely separate extension and current users won’t get the update.

Bump the version field in manifest.json, rebuild the full ZIP (including runtime files you didn’t touch), and upload it using Upload New Package on the item’s Package tab. Update any listing details that changed, then submit the package again. Google’s update guide walks through the exact steps.

Test the upgrade on top of existing stored notes, not just on a clean install. If you changed the data format, keep the older values intact until the migration succeeds, and make sure your startup code doesn’t overwrite saved notes with defaults.

Adding a permission that triggers a Chrome warning can disable the extension until the user approves it, so test that upgrade path and plan how you’ll explain the change before you ship.

Here’s what a typical update looks like:

Test an extension update with existing notesA Chrome Web Store update stays on the existing item, increases the version, and needs an upgrade check covering notes and changed permissions.Existing store itemIncrease manifestversionBuild complete ZIPTest upgrade withsaved notesCheck changedpermissionsUpload package andsubmit update

Save every ZIP you submit along with the source revision you built it from. You can’t roll the store back by re-uploading an older version number, so if an update breaks something, your way out is to fix the code, bump to a higher version, and submit a fresh package.

Keep your publishing checklist right next to your release script. When the next version is ready, note the exact ZIP file, the upgrade path you tested, and any changes to permissions or data handling so the next submission is quick to check.

Want me to talk about your product? You can sponsor this site.

Related posts about js: