Updated
web-vitals is a small, modular JavaScript library that measures the Web Vitals metrics on real users. It is built to match how Chrome measures them.[1]
The web-vitals JavaScript library is a lightweight, modular tool for measuring all key web vitals metrics on real users. This includes metrics like Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS), which are essential for understanding and optimizing user experience on the web. By capturing real-user performance data, web-vitals helps developers ensure their websites meet industry performance standards and deliver a smooth, responsive experience.
web-vitals belongs toJavaScript librariesRUMcategories.
73websites
use it — 2.9% of the 2,555 websites we scanned in the last 12 months
#16of 124
tools in its category seen in our scans (we recognize 278)
9public pages
on UptimeCard — open any of them to see how that site is doing
In short: a free way to collect Web Vitals from real visitors and send them to your own analytics. Layout shift reporting works only in Chromium browsers.[1]
2.35% of all websites we track run web-vitals▼ 0.01 points since 20 Sep
Should you use web-vitals?
The 10-second version, from the vendor’s own pages and what we see in our scans
Support and help for web-vitals
How the vendor says you can reach it, and the public help community
web-vitals versions
The newest release, the series that still gets fixes, and what changed
What changed in 6
What changed in 5
What changed in 4
- The fourth major version added INP breakdown timings and Long Animation Frame attribution[3]
What web-vitals sites add on top
How many of the 73 web-vitals sites we scanned also run each tool, grouped by what the tool does
Tag manager
Analytics
Cookie consent
Online store
The full bar means every web-vitals site. A site can run several tools for one job, so the shares of tools in one group can add up to more than 100%.
How web-vitals sites protect themselves
Share of the 73 sites we scanned that run each protection
HTTP Strict Transport Security (HSTS) informs browsers that the site should only be accessed using HTTPS
reCAPTCHA is a free service from Google that helps protect websites from spam and abuse
Cloudflare bot management solution identifies and mitigates automated traffic to protect websites from bad bots
Protections add up, they do not replace each other: a site can run all of them.
At a glance
UptimeCard's own scans and tests of 2,555 websites · refreshed weekly
How web-vitals sites scoreout of 100 · hover or tap a score for details
Page load time
Loads about as fast as the average site
Most web-vitals sites load in 3.5–6.9 s. Home page weight: 4.1 MB vs 3.3 MB for all sites. 7 public sites measured.
Who uses it?
Technology and Software is the biggest group
Share of 9 classified public sites. “× average” compares with all 961 public sites.
How web-vitals sites are built
Closest partners. The number says how many times more often the tool runs on web-vitals sites than on an average website. Hover a partner for its share of sites.
Stacks we see most. Tools that tend to run together with web-vitals on the same websites. The percentage is the share of all 73 web-vitals sites that run the whole stack.
Similar tools in its category
JavaScript libraries: 278 tools known, 124 seen in our scans
Websites using web-vitals
73 websites use web-vitals: 2.9% of the 2,555 websites we scanned in the last 12 months. A selection is shown below.
| Website | Industry | Hosted | Load time · size | Scores ⓘ | Status |
|---|---|---|---|---|---|
| Technology and Software | GermanyAmazon Technologies Inc. | 3.3 s · 9.8 MB | P33A93B77S92 | ||
| Technology and Software | CanadaCloudflare, Inc. | 5.1 s · 2.4 MB | P47A96B100S92 | ||
| Religious and Spiritual | United StatesMicrosoft Corporation | 3.6 s · 2.6 MB | P60A91B71S92 | ||
| Technology and Software | SwedenEPiServer AB | 8.7 s · 28.4 MB | P27A93B96S85 | ||
| Educational Resources | United StatesGoogle LLC | 2.8 s · 1.7 MBFast | P55A87B75S100 | ||
| Business Services | CanadaCloudflare, Inc. | 4.0 s · 4.1 MB | P34A95B92S92 | ||
| Fintech Solutions | CanadaAmazon.com, Inc. | 8.7 s · 5.0 MB | P35A92B96S92 | ||
| Technology and Software | United StatesSplunk, Inc. | – | – | ||
| Technology and Software | United StatesAmazon.com, Inc. | – | – |
Scores are out of 100: P Performance · A Accessibility · B Best practices · S SEO. Green 80+, yellow 65–79, orange 50–64, red below 50. The dot shows whether our last scan found the site failing (red) or not (green); Red, amber or blue: an active incident on the site's status page (outage, degraded, maintenance) or a failing scan; amber also means a certificate ending within 30 days. Hover the dot for details.
Uberalluberall.comTechnology and SoftwareGermany3.3 s · 9.8 MBP33A93B77S92Alchemyalchemy.comTechnology and SoftwareCanada5.1 s · 2.4 MBP47A96B100S92
Faithlifefaithlife.comReligious and SpiritualUnited States3.6 s · 2.6 MBP60A91B71S92
Bentley Systemsbentley.comTechnology and SoftwareSweden8.7 s · 28.4 MBP27A93B96S85Gynzygynzy.comEducational ResourcesUnited States2.8 s · 1.7 MBP55A87B75S100
Peoplehrpeoplehr.comBusiness ServicesCanada4.0 s · 4.1 MBP34A95B92S92
Mxmx.comFintech SolutionsCanada8.7 s · 5.0 MBP35A92B96S92
Splunk Cloudsplunkcloud.comTechnology and SoftwareUnited States–
Workivaworkiva.comTechnology and SoftwareUnited States–
Who is behind web-vitals
From its own pages and public records, with sources
web-vitals
since 2020[7]
Its story
2020
The first pre-release appeared in April 2020. It gave site owners a small script for collecting the Web Vitals metrics from real visitors, instead of relying on lab tests.[3][1]
2020
The first stable release added metric reporting after a back/forward cache restore. Pages restored from that cache could now be measured like fresh loads.[3]
2021
The second major version changed Cumulative Layout Shift to a session-window method and reported it only if the page was visible. Layout shift numbers followed the updated metric definition.[3]
2022
The third major version added support for the new Interaction to Next Paint metric and a rating on each metric. Developers could start measuring the successor to First Input Delay and see good, needs-improvement or poor at a glance.[3]
2024
The fourth major version added INP breakdown timings and Long Animation Frame attribution, and deprecated First Input Delay. Developers could find which part of an interaction was slow before INP became a Core Web Vital that year.[3][2]
2025
The fifth major version removed the deprecated First Input Delay function and moved browser support to Baseline Widely available. Sites still calling it had to switch to Interaction to Next Paint.[3]
2026
The sixth major version added Soft Navigation support where the browser provides it. Single-page apps could be measured per route change instead of only per full page load.[3]
Questions about web-vitals
- What is web-vitals?
- A small, modular JavaScript library that measures the Web Vitals metrics on real users.[1]
- Which metrics does it support?
- All of the Core Web Vitals: Cumulative Layout Shift, Interaction to Next Paint and Largest Contentful Paint. It also reports First Contentful Paint and Time to First Byte.[1]
- Is web-vitals free?
- Yes. It is released under the Apache 2.0 license.[1]
- Why does the library not report First Input Delay any more?
- Interaction to Next Paint became a stable Core Web Vital in 2024 and replaced First Input Delay, and the fifth major version of the library removed the deprecated First Input Delay function.[2][3]
- How many websites use web-vitals?
- We found web-vitals on 73 of the 2,555 websites we scanned in the last 12 months (2.9%). 9 of them have a public status page.
- What is web-vitals often used with?
- Among the websites we scan, web-vitals is often found alongside Amazon Web Services (35.6% of its sites), Unpkg (35.6% of its sites), React (34.2% of its sites).
- What are the alternatives to web-vitals?
- Other javascript libraries tools we recognize include jQuery, core-js, Swiper, jQuery Migrate.
Is your website built with web-vitals?
UptimeCard checks it around the clock, tells you the minute it stops answering, and gives your visitors a status page.