whatisgithub

What is helium-css?

geuis/helium-css — explained in plain English

Analysis updated 2026-05-18

3,635JavaScriptAudience · developerComplexity · 2/5Setup · easy

In one sentence

A browser-based tool that scans your site's pages to find CSS rules that are never actually used, so you can safely delete them.

Mindmap

mindmap
  root((helium-css))
    What it does
      Finds unused CSS
      Scans multiple pages
      Color coded report
    Tech stack
      JavaScript
      Browser script tag
    Use cases
      Clean up old stylesheets
      Audit CSS before redesign
      Shrink stylesheet size
    Audience
      Frontend developers
      Web developers
      General

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Find CSS rules left over from deleted features or old redesigns that are safe to remove.

USE CASE 2

Audit a stylesheet across many pages before a site redesign to see what CSS is still needed.

USE CASE 3

Shrink a bloated stylesheet by identifying and deleting unused selectors.

USE CASE 4

Spot CSS selectors the browser cannot even parse so you can fix or remove them.

What is it built with?

JavaScript

How does it compare?

geuis/helium-cssmelvin-abraham/google-assistant-unofficial-desktop-clientoblador/hush
Stars3,6353,6353,637
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Only run on a local or private site copy, never a live public one, since the interface is visible on the page.

So what is it?

Helium is a browser-based tool for finding CSS rules that are written in your stylesheets but never actually used on any page of your website. Over time, stylesheets tend to accumulate rules left over from old features, deleted components, or redesigns. Helium helps you identify which of those rules are safe to remove. The way it works is straightforward: you add a small script tag to your site so that Helium loads alongside your pages during testing. Then, in the Helium interface that appears, you paste a list of URLs from different sections of your site and click Start. Helium visits each page, reads through your stylesheets, and checks whether each CSS selector it finds is actually matched by any element on any of the pages you listed. When it finishes, it shows you a report broken down by stylesheet. The results use color-coding to help you prioritize. Green marks selectors that were not matched on any page and are the main candidates for removal. Black marks selectors that appeared alongside unmatched ones in grouped rules, so you can find them easily in your code. Red marks selectors the browser could not parse at all. Blue marks selectors that require user interaction to trigger, like hover or focus states, which Helium cannot test automatically. There are a few constraints worth knowing before you start. Helium can only check stylesheets hosted on the same domain as the pages being tested because of browser security restrictions. Any JavaScript errors on your pages will also interrupt the scan, so it helps to verify your pages are error-free beforehand. The URL list needs to be formatted with one URL per line. The README is clear that you should only run this tool on a local or private version of your site, not on a live public one, since the Helium interface will be visible to anyone who loads the page while it is active.

Copy-paste prompts

Prompt 1
Show me how to add the Helium script tag to a test page and scan a list of URLs for unused CSS.
Prompt 2
Explain what the green, black, red, and blue color codes mean in a Helium CSS report.
Prompt 3
Why does Helium only check stylesheets on the same domain as the pages being scanned?
Prompt 4
What should I do before running Helium on my site to make sure the scan works properly?

Frequently asked questions

What is helium-css?

A browser-based tool that scans your site's pages to find CSS rules that are never actually used, so you can safely delete them.

What language is helium-css written in?

Mainly JavaScript. The stack also includes JavaScript.

How hard is helium-css to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is helium-css for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.