Lighthouse is a free, open-source, automated tool developed by Google to enhance the quality of web pages. It performs audits across several categories and generates detailed reports highlighting a website's strengths and areas for improvement. This makes Lighthouse an essential resource for developers seeking to optimize their websites for better functionality and compliance with modern web standards.
The Lighthouse Performance audit evaluates a webpage's speed, responsiveness, and interactivity using a set of Web Vitals metrics, with a primary focus on Core Web Vitals. There are six Google Lighthouse metrics tracked in this section:
The Lighthouse Accessibility report relies on Web Content Accessibility Guidelines (WCAG) and related best practices to evaluate how well a website supports users with disabilities. It uses automated checks (like screen reader compatibility and color contrast) to assess various elements of a webpage that contribute to an inclusive and accessible user experience.
The Lighthouse search engine optimization (SEO) report evaluates a webpage's adherence to essential SEO best practices, focusing on metadata, mobile-friendliness, indexability, structured data, crawlable links, and proper content formatting (e.g., headings and alt text). It also checks HTTPS security and highlights performance issues that may indirectly impact SEO. This ensures the site meets technical requirements for search engine visibility and optimization.
The Lighthouse Best Practices report assesses a website’s adherence to modern standards, focusing on security (e.g., HTTPS, avoiding vulnerabilities), browser compatibility, efficient resource use (e.g., compressed images, minimal unused code), error-free interactions (e.g., no mixed content or broken links), and optimized media usage. It ensures websites are secure, efficient, and aligned with current development practices.
The Lighthouse Progressive Web App (PWA) report evaluates a website's ability to function like a native app, focusing on service workers for offline functionality, a valid web app manifest for installability, secure HTTPS delivery, and responsive design. It checks performance, user engagement features (e.g., splash screens and app-like interactions), and offline reliability, ensuring the site meets PWA standards for a fast, secure, and engaging experience.
The Performance, Accessibility, SEO, and Best Practices audits are scored on a scale of 0–100.
Audit report | Score range | Good score | Needs improvement | Poor score |
---|---|---|---|---|
Performance | 0-100 | ≥ 90 | 50-89 | < 50 |
Accessibility | 0-100 | ≥ 90 | 50-89 | < 50 |
SEO | 0-100 | ≥ 90 | 50-89 | < 50 |
Best Practices | 0-100 | ≥ 90 | 50-89 | < 50 |
Progressive Web App (PWA) | Pass/Fail | Pass | Fail | Fail |
For the Progressive Web App (PWA) audit, the score is established on precise criteria evaluated as pass/fail, evaluating the implementation of PWA standards.
Google advises experts and developers to utilize the scoring calculator to assess the website's current performance and determine the appropriate thresholds for which to aim. The Lighthouse report provides clear directions and an implementation guide to improve performance score. Additionally, the Diagnostics section offers further recommendations for performance improvements.
The Google Lighthouse test can be run via:
The tool will conduct multiple audits by submitting a URL and providing actionable suggestions to improve the website.