CSS size checker. Per-stylesheet breakdown.
Enter a URL. We pull Google PSI's network-requests audit (stylesheet subset), split first-party vs third-party CSS, and surface the byte budget verdict.
Sources used
- Google PSI v5 API, network-requests audit source
- Lighthouse unused CSS rules, purge strategies
- web.dev extract critical CSS
- PurgeCSS, unused-class purge tool
URL is sent only to Google PSI. Digital Heroes does not log queries.
Privacy: URL is sent only to Google PSI.
How to use the CSS Size Checker
This checker lists every stylesheet a page downloads, with its size, whether it comes from your own site or another one, and whether it blocks rendering. It asks Google PageSpeed Insights to load the page, then reads the stylesheet requests from that report and grades the total. Use it to find which CSS files are worth trimming first.
Step by step
-
Enter the page address
Type or paste the full URL of a public page into the address box, including https:// at the start, for example https://example.com. The box rejects an address without the scheme.
-
Choose Mobile or Desktop
Pick Mobile, the default, or Desktop from the menu beside the address. PageSpeed Insights loads the page as that kind of device, so the list of stylesheets can differ between the two.
-
Press Analyze
Press Analyze. The button reads Running... while Google loads and measures the page, which can take a while for heavy pages. Leave the tab open until the CSS breakdown appears.
-
Work through the list
Read the total, the first-party and third-party split, and the stylesheets by size list, largest first. Follow the Full PSI report link at the bottom to open the same page in Google's own report for more detail.
Reading the result
- The large number is the total CSS transfer in KB, followed by a grade: A under 100 KB, B under 200 KB, C under 350 KB, D under 600 KB, and F at 600 KB or more. For example, 150 KB grades B with the verdict Healthy.
- Sizes are transfer sizes, the bytes sent over the network after compression, rounded to whole KB per file. A very small file can show as 0 KB.
- first-party counts files whose URL starts with the same origin as the address you entered. Everything else is third-party, and that card turns amber when third-party CSS is more than half of the total.
- In the list, 1P and 3P mark the origin of each file and a warning sign marks a file that the report's render-blocking resources audit lists. The line under the total counts the stylesheets and the render-blocking ones. If Google's report does not include that audit, no file gets the sign and the count reads 0.
Tips and common mistakes
- Enter the final address of the page, with or without www exactly as your site serves it. Only the exact origin counts as first-party, so files from your own CDN or another subdomain show as 3P.
- Only render-blocking files whose URL ends in .css are counted as render-blocking. Stylesheets served from addresses without that ending, such as many web font services, will not get the warning sign even when they block.
- Run both Mobile and Desktop. Many sites load different CSS for each, so check at least the one most of your visitors use.
- If you see the error PSI HTTP 429, the shared quota Google allows for requests without an API key has run out. That quota is counted per day, so a short wait may not help. Try again later, or use the pagespeed.web.dev link shown with the error.
Privacy and limits
The address you enter is sent from your browser to Google's PageSpeed Insights API at googleapis.com, which loads that page on Google's servers and returns the report. No API key is used, so Google's shared rate limits apply. Results are shown in the page and not saved. Google can only reach public pages, so pages behind a login or on your own computer cannot be tested.
Most CSS bytes are unused.
The most common CSS-weight bug is shipping the entire utility framework without purging unused classes. Tailwind CSS in JIT mode handles this automatically (10-30KB ship typical). Bootstrap full-bundle ships 200KB+ for sites that use 10% of the framework. The checker above shows total CSS, first-party vs third-party split, render-blocking flag per file, surfacing the cleanup target. PurgeCSS at build time typically delivers 60-80% reduction on framework-built sites.
Three CSS-budget reduction patterns. PurgeCSS / JIT-mode Tailwind for unused-class elimination. Critical CSS extraction, inline above-the-fold styles, async-load the rest via rel=preload media-print swap. Audit Google Fonts CSS, every font weight + style adds 30-50KB; trim to the 2-3 weights actually used.
Tools in the same cluster: JavaScript Size Checker for the JS-only deep dive. Render Blocking Checker for the critical-path CSS view. Page Weight Analyzer for the full byte breakdown.
Five answers.
What's a healthy CSS budget in 2026?
Total CSS under 150KB compressed is the practical mobile budget for fast-feeling sites. Above 250KB, render-blocking CSS starts degrading LCP visibly. Above 500KB, the unused-CSS audit on Lighthouse will fail and Performance score drops 5-10 points. Tailwind CSS (with JIT mode) commonly ships 10-30KB. Bootstrap full-bundle ships 200KB+. Custom design systems usually settle at 80-180KB. The biggest waste is unused CSS shipped from utility frameworks without purge configuration.
First-party vs third-party CSS?
First-party CSS is your own stylesheets, typically your design system + utility framework + per-page styles. Third-party CSS comes from chat widgets (Intercom, Drift), embedded video players (YouTube, Vimeo), payment widgets (Stripe Elements), font services (Google Fonts CSS file), and third-party analytics (Hotjar). Third-party CSS commonly adds 40-100KB of unauditable weight; the checker above splits the views so you know which to optimize yourself vs which need vendor conversations.
How do I cut CSS without breaking design?
Four reduction patterns. One, purge unused CSS, Tailwind's JIT mode handles this automatically; for Bootstrap/Bulma, run PurgeCSS at build time (typical 60-80% reduction). Two, inline critical CSS, extract above-the-fold styles, inline in head, async-load the rest via rel=preload media-print swap. Three, code-split CSS by route, only ship per-route stylesheets. Four, audit Google Fonts, every font weight + style adds 30-50KB; trim to 2-3 weights typically used (400 + 700 + occasional italic).
Render-blocking CSS, what is it?
Synchronous link rel=stylesheet tags in the head block initial render until the CSS is fetched + parsed. Each blocking stylesheet adds round-trip latency to LCP and FCP. The fix is the rel=preload media-print pattern: load CSS as media=print so it doesn't block render, then onload swap to media=all. The dedicated Render Blocking Checker tool covers this in depth, this CSS Size Checker focuses on the byte-size view.
Does this tool save my data?
The URL is sent only to Google's public PageSpeed Insights API. Nothing is logged on Digital Heroes servers.
CSS over 200KB?
Our web development engagements ship PurgeCSS / Tailwind JIT, critical-CSS extraction, and Google Fonts trimming, typically 50-70% CSS reduction with no design impact.
Published · Last updated .