Skip to content

HTML and CSS Analyzer and Minifier

Errors and speed problems in a page’s HTML and CSS, how much CSS it never uses, and safely minified files.

  • Free, no sign-up
  • Fetch a page or paste code
  • Real compressed sizes

We fetch the page and every stylesheet it loads. Then you see the HTML report, the CSS report, and how much of the CSS this page actually uses.

Paste or upload code instead

Pasted and uploaded code is processed in your browser and never sent to us.

Checks tags that aren’t closed, render-blocking scripts, images without sizes, unused CSS, @import chains and fonts.

Open it in the free RR SEO Tools app

Free on this page, or in the free app

On this pageIn the RR SEO Tools app
Use the toolFree, no sign-upFree account (just your email)
Full reportsA preview, then the full report when you sign in freeAlways shown in full
Check pages by URL10 free a day with an accountThe same free allowance
Your reportsShown on this pageSaved to your account to reopen and compare
Phone and computerWorks in any browserInstall it like an app
Every toolOne tool per pageAll tools, one sign-in and one history

Open this tool in the app Free. Sign in with just your email.

Smaller, cleaner code, and what's actually slowing the page down

Minifying removes what browsers don't need (comments, extra spaces, long color codes) so files download faster. But on most sites, the bigger wins are elsewhere: CSS the page never uses, scripts that block the first paint and images without dimensions that make the page jump. This tool shows both, in plain words.

HTML report

  • Tags that aren't closed properly (with line numbers), duplicate IDs, and a missing doctype, language, character set, viewport or title.
  • Speed problems: render-blocking scripts in the head, a lazy-loaded top image, images without width and height (which cause layout shift), too many elements and heavy inline styles and scripts.
  • A safely minified version, with comments and spacing removed without touching <pre>, text areas, scripts or the spaces between words, plus a readable "beautified" version.

CSS report

  • Unused CSS on the page: fetch a page and see, for each stylesheet, how many rules match nothing on it.
  • Mistakes and upkeep problems: unbalanced braces, @import chains, fonts without font-display, piles of !important, duplicate selectors and properties, and old vendor prefixes.
  • Minified and beautified versions with real compressed (gzip) sizes, so you see the saving visitors actually get.

Files from other sites are left out

Stylesheets loaded from other domains, like Google Fonts, plugins on a CDN or a theme's library, can't be edited by you. With β€œLeave out files from other sites” ticked (it is by default), they're listed but not checked, counted as unused or minified, so the report is about the code you can change.

How to use this tool

  1. 1
    Fetch a page or paste code

    Fetching reads the page and every stylesheet it loads. Pasted and uploaded code stays in your browser.

  2. 2
    Read the HTML and CSS reports

    Switch between the two tabs. Each point says what it is, why it matters and how to fix it.

  3. 3
    Check unused CSS

    The stylesheet table shows how much of each file the page actually uses. On many themes, it's the biggest speed win.

  4. 4
    Copy the minified code

    Or download it. Test the page after replacing the original, and keep a copy.

Frequently asked questions

Is minifying safe?

This minifier only removes things browsers ignore and leaves scripts, strings and spacing in calc() untouched. Still, test the page after replacing a file, and keep the original.

Should I minify by hand?

On WordPress, a caching plugin (LiteSpeed Cache, WP Rocket, Autoptimize) can minify automatically. Use this tool to check the result and find what else slows the page.

Why isn't Google Fonts in the report?

Files from other domains are left out by default, because you can't edit them. They're listed by name. Untick β€œLeave out files from other sites” to check them too.

Can I delete all the "unused" CSS?

No. Rules can be used on other pages, in menus that open on a click or by content added with JavaScript. Remove what you're sure about, or use per-page "remove unused CSS" features.

Does it minify JavaScript?

This tool doesn't, but the Website Code Checker does: upload the page with its scripts (or a zip) and it minifies the JavaScript with a full parser, along with the HTML and CSS.

Is it free?

Yes.

Get help beyond the tool

Fix slow pages at the source

Speed and Core Web Vitals Rescue finds what slows your site down and fixes LCP, INP and CLS at the source. A before-and-after report shows the change.

See Core Web Vitals Rescue