Website Best Practices Checker
Find out if your site follows the modern web standards Google checks for. Catches HTTPS issues, insecure dependencies, deprecated APIs, and JavaScript errors before users do.
What the Best Practices audit checks
Lighthouse's Best Practices category covers about 15 checks that every modern site should pass:
Security & privacy
- HTTPS — site is served over a secure connection
- No mixed content — no
http://resources on anhttps://page - No
target="_blank"withoutrel="noopener"— prevents tabnabbing - No vulnerable JavaScript libraries — checks against a known-vuln database
- Content Security Policy (CSP) — if configured, must be effective
Correctness
- No browser console errors — page loads without throwing
- No deprecated APIs — no calls to APIs Chrome plans to remove
- Page has the right
doctype—<!DOCTYPE html> - Correct
charsetdeclaration - Images displayed at the correct aspect ratio — not distorted
- Images served with the right resolution — not over- or under-scaled
UX & accessibility hygiene
- Passive listeners on scroll/touch events for smoother scrolling
- Notification permission requested correctly — not on page load
- Geolocation permission requested correctly — not on page load
The two most common failures
1. Console errors
Open DevTools → Console. Every uncaught error, deprecation warning, or 404 lowers your score. The fixes are usually trivial — a misspelled asset URL, a missing favicon, a tracking pixel that 404s, a CORS error from a removed third party. Five minutes of cleanup typically pushes you back to 100.
2. Vulnerable JS libraries
This usually means an old version of jQuery, Lodash, or Bootstrap loaded from your CMS or a legacy plugin. Either upgrade to a current version or remove the dependency.
Why this score matters even though it's not a ranking factor
Lighthouse Best Practices isn't directly used by Google for ranking. But:
- Console errors suggest broken features and lower trust
- Vulnerable libraries expose users to XSS and supply-chain attacks
- Mixed content breaks page functionality in modern browsers
- Deprecated APIs will literally stop working in future Chrome releases
A site that passes Best Practices is a site that won't surprise you in six months.
Quick wins
- Open Chrome DevTools → Console → reload the page → fix every red message
- Upgrade jQuery (if you use it) to 3.x
- Add
rel="noopener noreferrer"to every external link withtarget="_blank" - Replace any
http://URLs in your HTML withhttps:// - Don't request notification or geolocation permission on page load — wait for a user gesture
Run the checker below to get your current score and the exact list of fixes.
Frequently Asked Questions
What's the difference between Best Practices and SEO?+
Best Practices covers technical correctness — HTTPS, security, no console errors, no deprecated APIs. SEO covers search engine discoverability — titles, meta tags, structured data. Both matter, but they measure different things.
Does Lighthouse check for vulnerabilities?+
Yes, partially. Lighthouse flags JavaScript libraries with known security vulnerabilities (via Snyk's open-source database). It doesn't replace a full security audit, but it catches the easy wins.
Why is my Best Practices score 92 even though everything seems fine?+
Almost always console errors. Open DevTools, reload your page, and check the Console tab. Even a single warning will drop your score from 100 to 92.
See how your site really performs
Run a full website health check on mobile and desktop in 30 seconds — no signup needed.
Continue reading
Website Speed Test
Run a free website speed test on any URL. Get mobile and desktop Lighthouse scores, Core Web Vitals, and a plain-English breakdown in 30 seconds.
Read moreCore Web Vitals Checker
Check your Core Web Vitals (LCP, CLS, INP) on any URL for free. Get instant Google Lighthouse results with traffic-light thresholds and clear fix recommendations.
Read moreHow to Improve Website Speed
Step-by-step guide to making your website faster. Twelve high-impact fixes ranked by effort vs reward, with real numbers and code examples — no fluff.
Read more