Boneyard Tools

Browserslist Generator

Choose a preset, set how many versions and how much coverage to support, exclude dead or old browsers, and copy a .browserslistrc that Babel, PostCSS and friends understand.

How to generate a .browserslistrc

  1. Pick a starting preset: defaults, modern or wide.
  2. Add queries like last N versions or a minimum coverage percentage, and exclude dead or old browsers.
  3. Copy the generated .browserslistrc into the root of your project.

Examples

Modern browsers, last 2 versions, no IE

preset: modern, lastNVersions: 2, notIE: true
last 2 versions
not dead
not ie 11

Frequently asked questions

What is Browserslist used for?

It is a shared way to declare which browsers your project targets. Tools like Babel, Autoprefixer, PostCSS and many bundlers read it to decide what output to produce.

What do the presets mean?

Defaults uses Browserslist's own recommended query. Modern targets the last two versions and excludes dead browsers. Wide casts a broad net with a low coverage threshold and no IE.

What does > 0.5% mean?

It selects browser versions with at least that share of global usage, based on Can I Use data. A lower number supports more, older browsers.

What is the difference between not dead and not ie 11?

Not dead drops browsers without official support or recent updates. Not ie 11 specifically removes Internet Explorer 11, which is often handled separately.

Is my configuration private?

Yes. The file is built entirely in your browser and nothing is uploaded.

Related tools