BASE

Lighthouse

Lighthouse

Development library / tool · Free

A Chrome and CLI page auditing tool: loading, accessibility, SEO, and best-practice metrics with specific recommendations.

Also known as: GoogleChrome/lighthouse

Resource illustration: Lighthouse

Open resource ↗

What you can use for free

Auditing your own page in Chrome DevTools or through the local CLI is free; an HTML/JSON report is saved.

Paid features and costs

Lighthouse has no mandatory subscription; paid monitoring services, runs in third-party clouds, and application hosting are billed under their own terms.

Access and limitations

Auditing your own page in Chrome DevTools or through the local CLI is free; an HTML/JSON report is saved. Lighthouse has no mandatory subscription; paid monitoring services, runs in third-party clouds, and application hosting are billed under their own terms.

Use cases

  • Page diagnostics
  • Finding causes of loading and accessibility issues

Example workflow

A possible workflow; this is not a report of hands-on testing.

Obtain a reproducible page audit and verify a fix for the identified bottleneck.

Before you start

  • A working page URL and identical mobile/desktop run settings.
  • A specific loading scenario and quality criteria.

Steps

  1. Run Lighthouse in DevTools or the CLI with the same selected settings and save the report.
  2. Use specific report findings and metrics; fix the cause of one significant bottleneck in the code.
  3. Repeat the audit under the same conditions and compare reports; separately check actual user workflows.

Check your result

  • Comparable measurements confirm improvement rather than one random score.
  • An automatic accessibility score does not replace checking overall accessibility and keyboard controls.

Choosing Lighthouse

Page diagnostics

Choose this when

  • Page diagnostics
  • Finding causes of loading and accessibility issues

Requirements

  • The current CLI README requires Node.js 22 LTS or later; DevTools mode uses Chrome.

Things to consider

  • Costs and limits of free use: Lighthouse has no mandatory subscription; paid monitoring services, runs in third-party clouds, and application hosting are billed under their own terms.
  • Terms of use: Apache-2.0: permits modification and commercial use; retain the license, applicable NOTICE files, and information about changes.
  • The first CLI run requests consent for anonymous runtime exception reporting; declining does not block use. A secret Gist is not a local file.

Frequently asked questions

What can you use for free in Lighthouse?

Auditing your own page in Chrome DevTools or through the local CLI is free; an HTML/JSON report is saved.

What additional costs might arise with Lighthouse?

Lighthouse has no mandatory subscription; paid monitoring services, runs in third-party clouds, and application hosting are billed under their own terms.

What terms of use matter for Lighthouse?

Apache-2.0: permits modification and commercial use; retain the license, applicable NOTICE files, and information about changes.

How do you get started with Lighthouse?

Run Lighthouse in DevTools or the CLI with the same selected settings and save the report. Use specific report findings and metrics; fix the cause of one significant bottleneck in the code. Repeat the audit under the same conditions and compare reports; separately check actual user workflows.

How do I separate Lighthouse data collection from a repeated audit?

The CLI can save artifacts in gather mode and analyze them again in audit mode without another browser run. Reports can be output as HTML, JSON, or CSV; only-categories/only-audits restrict checks. Lighthouse Viewer can publish a report through a secret GitHub Gist after sign-in; that is a separate action from local HTML.

License

Apache-2.0: permits modification and commercial use; retain the license, applicable NOTICE files, and information about changes.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Chrome
  • Node.js
  • CLI
  • performance

Sources

Other resources