DevTools Logo

Extension Manifest Generator

Extension Manifest Generator

Build a valid MV3 manifest with permission linting and a Firefox variant.

Runs in your browser
Try an example

Manifest fields

1 permissions · 0 high-risk
Permissions
Justifications

chrome manifest.json

22 lines · 318 chars
{
  "manifest_version": 3,
  "name": "My Extension",
  "version": "1.0.0",
  "permissions": [
    "storage"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://example.com/*"
      ],
      "js": [
        "content.js"
      ]
    }
  ]
}

Details

Manifest V3 changed background pages to service workers and permissions to explicit host patterns. This generator emits keys in a stable order, bundles a permission catalog with risk levels and least-privilege alternatives, and lints match patterns, versions and store limits. High-risk permissions need a justification, and permissions such as webRequest are flagged as inert without host permissions. A Firefox toggle emits a second variant with background.scripts and browser_specific_settings instead of a Chrome service worker.

Basic MV3

manifest_version 3 · background.service_worker background.js · host_permissions

A modern baseline that passes store structural checks.

Firefox variant

background: { scripts: ["background.js"], persistent: false } + gecko id

Firefox uses event pages rather than Chrome's service_worker key.

Match-pattern lint

*://example.com → add a path → *://example.com/*

A host without a path is a common cause of invalid manifest rejection.

About this tool

Extension Manifest Generator runs entirely in your browser on DevTools — no signup, no upload.

What this tool does not do

  • Extension Manifest Generator is a free in-browser utility, not a hosted API, and keeps no server-side history.

How to use this tool

  1. Set your options

    Choose the options Extension Manifest Generator should use.

  2. Generate

    Press the generate action; each run produces fresh output.

  3. Copy or export the result

    Copy or download the generated result. Extension Manifest Generator keeps no server-side history, so save what you need before leaving the page.

Frequently asked questions

What changed in Manifest V3?

MV3 replaced background pages with service workers, moved remote code rules to declarativeNetRequest, and split host access into host_permissions. This generator emits those modern keys in canonical order and points MV2 users toward the relevant APIs instead of emitting obsolete fields.

How do match patterns work?

A match pattern is <scheme>://<host><path> or the special value <all_urls>. The path is required: *://example.com is invalid, while *://example.com/* is valid. The linter detects the common missing-path case and suggests a corrected pattern before you paste the manifest.

Why are some permissions flagged?

Permissions such as tabs, history and cookies expose sensitive browsing data, so the catalog marks them high-risk and asks for a written justification. Where possible it suggests a least-privilege alternative such as activeTab. Permissions like webRequest are also flagged when host_permissions are missing because they cannot do useful work that way.

What is different in the Firefox variant?

Firefox uses background scripts or event pages rather than Chrome's service_worker key, and identifies extensions with browser_specific_settings.gecko.id. The emitted variant swaps those fields and keeps content scripts and permissions; it still requires testing in Firefox because API parity varies by version.

Can I publish the generated manifest directly?

It is structurally valid and linted, but store review also checks behaviour, descriptions, icons, privacy policy and actual asset files. The tool cannot verify that referenced files exist, so run the extension locally and check with npm or browser developer tools before submitting.

Does the generator contact a store or registry?

No. The catalog and linter are bundled locally, and the JSON is copied or downloaded in the browser.