web-vitals
JavaScript library from Google that measures the Core Web Vitals metrics for real-user sessions, reporting Largest Contentful Paint, Interaction to Next Paint, Cumulative Layout Shift and related lab or field signals through a callback that sends the numbers to an analytics endpoint.
web-vitals at github.com/GoogleChrome/web-vitals is a free Apache-2.0 Google browser library, npm 6.2.3, measures Core Web Vitals in real-user sessions, Largest Contentful Paint load, Interaction to Next Paint responsiveness, Cumulative Layout Shift stability, callback forwards metric values to analytics or monitoring, small bundle-level build, field data on production traffic versus synthetic lab runs, complements lab audits, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is web-vitals free?
web-vitals: web-vitals is free open-source software under the Apache License 2.0; the web-vitals package latest 6.2.3 on npm is published without an explicit Node engine field, as it runs in the browser rather than on a server. It collects the Core Web Vitals from real-user sessions: Largest Contentful Paint measures load experience, Interaction to Next Paint measures responsiveness, Cumulative Layout Shift measures visual stability, and the library hands each metric value to a callback that can forward it to an analytics or monitoring endpoint. A bundle-level build keeps the shipped code small, and the reported numbers reflect what actual visitors experience rather than only synthetic lab runs. The library complements lab audits by capturing field data on production traffic. Apache-2.0 permits use and redistribution with its license conditions; no paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is web-vitals free?
It depends on the licence. web-vitals is released under the Apache License 2.0.
How much does web-vitals cost?
web-vitals is free open-source software under the Apache License 2.0; the web-vitals package latest 6.2.3 on npm is published without an explicit Node engine field, as it runs in the browser rather than on a server. It collects the Core Web Vitals from real-user sessions: Largest Contentful Paint measures load experience, Interaction to Next Paint measures responsiveness, Cumulative Layout Shift measures visual stability, and the library hands each metric value to a callback that can forward it to an analytics or monitoring endpoint. A bundle-level build keeps the shipped code small, and the reported numbers reflect what actual visitors experience rather than only synthetic lab runs. The library complements lab audits by capturing field data on production traffic. Apache-2.0 permits use and redistribution with its license conditions; no paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check web-vitals's current pricing?
On web-vitals's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is web-vitals?
The library listens to browser performance APIs, computes LCP, INP and CLS from real visits, and hands values to a callback that forwards them to analytics; the resulting field data shows what production visitors actually experience.
How does pricing work?
The library installs free under Apache-2.0 with no seat license; it ships with the web app bundle, the analytics endpoint that receives the data is chosen separately, and any commercial RUM product would be outside this open-source project.
How does web-vitals compare with other tools in Dev Workflow & Productivity?
web-vitals is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| web-vitals | Open source | web-vitals is free open-source software under the Apache License 2.0; the web-vitals package latest 6.2.3 on npm is published without an explicit Node engine field, as it runs in the browser rather than on a server. It collects the Core Web Vitals from real-user sessions: Largest Contentful Paint measures load experience, Interaction to Next Paint measures responsiveness, Cumulative Layout Shift measures visual stability, and the library hands each metric value to a callback that can forward it to an analytics or monitoring endpoint. A bundle-level build keeps the shipped code small, and the reported numbers reflect what actual visitors experience rather than only synthetic lab runs. The library complements lab audits by capturing field data on production traffic. Apache-2.0 permits use and redistribution with its license conditions; no paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Playwright | Open source | The project can be self-hosted from source; hosted support and enterprise add-ons are sold separately (data as of Nov 21, 2026). | Nov 21, 2026 |
| Lighthouse | Open source | Lighthouse is free open-source software under the Apache License 2.0; the lighthouse package latest 13.6.0 on npm requires Node 22.19 or above. It loads a page in an automated browser context and runs a battery of checks grouped into performance, accessibility, best practices, SEO and progressive web app categories: metrics such as load timing and interactivity are measured, rules flag missing alt text, improper markup and outdated APIs, and the report scores each category with references to the failing audits and suggested remediations. The tool runs from the command line, Chrome DevTools or CI, and the collected results can be saved as JSON or HTML reports for regression tracking. Apache-2.0 permits use and redistribution with its license conditions; no paid commercial edition or per-seat license is sold by the core project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
web-vitals: web-vitals is released under the Apache License 2.0. Check the official site for any hosted plan.
Open source does not always mean every hosted version is free.
Key pricing: web-vitals is free open-source software under the Apache License 2.0; the web-vitals package latest 6.2.3 on npm is published without an explicit Node engine field, as it runs in the browser rather than on a server. It collects the Core Web Vitals from real-user sessions: Largest Contentful Paint measures load experience, Interaction to Next Paint measures responsiveness, Cumulative Layout Shift measures visual stability, and the library hands each metric value to a callback that can forward it to an analytics or monitoring endpoint. A bundle-level build keeps the shipped code small, and the reported numbers reflect what actual visitors experience rather than only synthetic lab runs. The library complements lab audits by capturing field data on production traffic. Apache-2.0 permits use and redistribution with its license conditions; no paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Playwright
Cross-browser automation framework for end-to-end testing.
Lighthouse
Open-source audit tool from Google that scores a web page on performance, accessibility, best practices, SEO and progressive web app criteria, running automated checks against a loaded page and producing a report with scored categories and actionable fixes.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
