Modernizr
Modernizr is an open-source feature detection library that identifies browser support for HTML,
CSS, and
JavaScript features and allows websites to adapt accordingly.
It enables developers to detect supported browser features at runtime, apply progressive enhancement, load polyfills only when required, and provide fallbacks for unsupported features.
Modern browsers now provide broad support for the features Modernizr was designed to detect, so it is primarily needed for projects that support older browsers.
According to our data, Modernizr ranks 11th among the JavaScript libraries we track.
It has 7.4% of the JavaScript library market share and is present on 5.4% of all websites.
- π Website
- </> Source code
- π¨βπ©βπ¦βπ¦ Community
πΈ Pricing
Modernizr is available for free.
π Rankings and Market Share
- JavaScript Libraries
- Rank: 11
- Market share: 7.4%
π Modernizr Awards
- β 5th most popular in Lebanon in the JavaScript Libraries category.
- β 6th most popular in Germany in the JavaScript Libraries category.
- β 6th most popular in Belgium in the JavaScript Libraries category.
- β 7th most popular in Switzerland in the JavaScript Libraries category.
- β 7th most popular in Portugal in the JavaScript Libraries category.
- β 7th most popular in Bulgaria in the JavaScript Libraries category.
- β 7th most popular in Croatia in the JavaScript Libraries category.
- β 7th most popular in Luxembourg in the JavaScript Libraries category.
- β 8th most popular in Italy in the JavaScript Libraries category.
- β 8th most popular in Turkey in the JavaScript Libraries category.
β‘ Sites Using Modernizr
We have data on 197,774 websites that use the Modernizr JavaScript library. Here is a list of some of the top ranked ones.
The highest rated site using Modernizr is instructure.com.
| # | Website | Rank | Country | Language |
|---|---|---|---|---|
| 1 | #52 | United States | English | |
| 2 | #80 | Japan | Japanese | |
| 3 | #88 | Switzerland | English | |
| 4 | #125 | United States | English | |
| 5 | #215 | United States | English | |
| 6 | #420 | Venezuela | Spanish | |
| 7 | #425 | English | ||
| 8 | python.org | #429 | English | |
| 9 | #474 | Brazil | Brazilian Portuguese | |
| 10 | #590 | United Kingdom | British English | |
| 11 | #662 | Turkey | Turkish | |
| 12 | #680 | Netherlands | English | |
| 13 | #1,024 | Malay | ||
| 14 | #1,198 | India | English | |
| 15 | #1,221 | Poland | Polish | |
| 16 | #1,281 | United States | English | |
| 17 | #1,294 | United States | English | |
| 18 | #1,295 | Portugal | European Portuguese | |
| 19 | #1,310 | United States | English | |
| 20 | #1,469 | United States | English |
π Usage Statistics
Most of the sites that use Modernizr:
- are located in the United States
- have content in English
- use the .com domain extension
- fall into the Business category.
Most of the sites using Modernizr are from the United States, Germany, and the United Kingdom.
- United States 20.4%
- Germany 6.6%
- United Kingdom 6.2%
- Italy 5.1%
- Spain 4.1%
- France 3.9%
- Japan 3.4%
- Australia 3.3%
- India 3.2%
- Other 43.8%
Most Modernizr users speak English, German, or Spanish.
- English 53.2%
- German 6.4%
- Spanish 5.9%
- French 4.1%
- Italian 4%
- Japanese 3%
- Portuguese 2.6%
- Dutch 2.5%
- Russian 2.3%
- Other 16%
The Modernizr JavaScript library is especially popular on .com and .org top-level domains.
- .com 42%
- .org 7%
- .de 4.2%
- .it 2.9%
- .net 2.5%
- .co.uk 2.4%
- .com.au 2%
- .nl 1.9%
- .fr 1.4%
- Other 33.7%
The primary market segments for websites utilizing Modernizr include business, marketing and merchandising, and education and reference.
- Business 19.6%
- Marketing/Merchandising 11.7%
- Education/Reference 7.6%
- Online Shopping 6.7%
- Internet Services 5.1%
- Blogs/Wiki 5%
- Travel 4.5%
- Entertainment 4%
- Health 3.6%
- Other 32.2%
π’ Modernizr Versions
The most common version of Modernizr is 2.8, used by 34% of sites where versions were detected. In addition, 32.3% of sites use Modernizr 2.6, and 11.9% use Modernizr 2.7.
- 2.8 34%
- 2.6 32.3%
- 2.7 11.9%
- 3.5 5%
- 2.5 3.8%
- 3.6 3.8%
- 2.0 2.9%
- 3.11 1.7%
- 1.7 1.3%
- Other 3.3%
π΅οΈ Similar Technologies
These are some of the best Modernizr alternatives.
π Compare Alternatives
Compare Modernizr toβ¦
- π΅οΈ Similar libraries
- β Market leaders
- π‘ More alternatives
- π All options
π¬ Frequently Asked Questions
Where is Modernizr's headquarters?
Modernizr is located in San Francisco, California, United States.
Can I use Modernizr for free?
Yes, it is a free JavaScript library.
It is also open source, and its code is available on GitHub.
Which country uses Modernizr the most?
The majority of Modernizr users are from the United States.
Who uses Modernizr?
According to our data, Modernizr is used on thousands of sites, including such established ones as instructure.com,
mbga.jp, and
who.int.
Is Modernizr used on government websites?
Yes, for example, it is used by jharkhand.gov.in,
ohio.gov, and
portaldasfinancas.gov.pt. Overall, we found Modernizr on 375 government sites in the United States.
Do academic institutions use Modernizr?
How does Modernizr compare to its competitors?
Modernizr is a very popular JavaScript library, second only to 10 other JavaScript libraries we track.
What are the alternatives to Modernizr?
Alternatives and possible competitors to Modernizr may include πͺ JS Cookie,
UAParser.js, and Polyfill.
π See Also
- β¨ Related technologies
ποΈ About This Data
- We evaluate the popularity of technologies based on the number of websites where we detect their usage.
- Technologies without a detectable web footprint, and those we do not track, are not reflected in the calculated market share.
- This report is based on the analysis of 3,629,123 websites.
- Statistics were last calculated on .
- For more details, see our methodology and disclaimer.

