Select your language

Home arrow-right ... arrow-right Development Software arrow-right Front End Development Tools arrow-right UnCSS

We've compiled a list of 6 free and paid alternatives to UnCSS. The primary competitors include VWO Fullstack, DropCSS. In addition to these, users also draw comparisons between UnCSS and Helium CSS, Purgecss, PurifyCSS. Also you can look at other similar options here: Development Software, Front End Development Tools.


Effortlessly trial and implement intricate features with VWO FullStack. It offers server-side adaptability for diverse experiments with in-depth segmentation, ensuring optimal performance and consistent user experiences across channels.

DropCSS
Free Open Source

A simple, thorough and fast unused-CSS cleaner

Helium CSS
Free Open Source

JavaScript tool to scan your site and show unused CSS

Remove unused CSS. Also works with single-page apps.

uCSS
Free Open Source

Find unused and duplicate CSS

Remove unused styles from CSS

UnCSS Overview

UnCSS is a tool that removes unused CSS from your stylesheets. It works across multiple files and supports Javascript-injected CSS.

How?

The process by which UnCSS removes the unused rules is as follows:

1. The HTML files are loaded by jsdom and JavaScript is executed.
2. All the stylesheets are parsed by PostCSS.
2. document.querySelector filters out selectors that are not found in the HTML files.
4. The remaining rules are converted back to CSS.

Please note:

• UnCSS cannot be run on non-HTML pages, such as templates or PHP files. If you need to run UnCSS against your templates, you should probably generate example HTML pages from your templates, and run uncss on those generated files; or run a live local dev server, and point uncss at that.
• UnCSS only runs the Javascript that is run on page load. It does not (and cannot) handle Javascript that runs on user interactions like button clicks. You must use the ignore option to preserve classes that are added by Javascript on user interaction.

Top UnCSS Alternatives

Share your opinion about the software, leave a review and help make it even better!

UnCSS Tags

unused-css css-development css3 css development

Suggest Changes

Your Feedback

Select a rating
Please select a rating

Your vote has been counted.

Do you have experience using this software?