Skip to content

WXT

Next-Gen Web Extension Framework

An open source tool that makes web extension development faster than ever before.

Create, develop, ship.

One toolchain from the first scaffold to the store submission. No separate build scripts to maintain.

wxt-dev/wxt

$

Your file tree is your manifest.

Drop a file in entrypoints/ and WXT wires up the manifest, bundling, and reloading.

wxt-dev/wxt
background.ts
1export default defineBackground(() => {2  console.log('Hello background!', { id: browser.runtime.id });3});
.output/chrome-mv3/manifest.json
1{2  "background": {3    "service_worker": "background.js"4  }5}
Target chrome-mv3Built in 959 msTypeScript

One codebase. Every browser.

Write your extension once. WXT takes care of the browser-specific builds.

Your project

Browser builds

src/TypeScript source
entrypoints/Manifest entrypoints
wxt.config.tsBuild configuration
package.jsonProject metadata
WXT
ChromeChromechrome-mv3
FirefoxFirefoxfirefox-mv2
SafariSafarisafari-mv2
EdgeEdgeedge-mv3

Everything the build needs.

Manifest generation, a dev server, and release zips come built in. Add a frontend framework when you need one.

Who's using WXT?

Battle tested and ready for production. Explore web extensions made with WXT.

Start building your extension.

$ pnpm dlx wxt@latest init

Sponsors

WXT is a MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring WXT's development.

WXT Sponsors