awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

CSS extraction tools

Classement mis à jour le 9 juil. 2026

For a tool for extracting css from websites, the strongest matches are cssnano/cssnano (This tool is a specialized CSS minifier that integrates), fullhuman/purgecss (PurgeCSS is a dedicated build-pipeline tool that directly addresses) and addyosmani/critical (Critical is a specialized tool designed specifically for extracting). jakubpawlowicz/clean-css and uncss/uncss round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Find the best CSS extraction tools for your project. Compare top open-source options ranked by activity and features to pick the right one.

CSS extraction tools

Trouvez les meilleurs dépôts grâce à l'IA.Nous recherchons les dépôts les plus pertinents grâce à l'IA.
  • cssnano/cssnanoC

    cssnano/cssnano

    4,974Voir sur GitHub↗

    cssnano is a CSS compression tool and minifier that reduces the file size and gzip footprint of stylesheets. It operates as a build pipeline optimizer and code transformer that removes whitespace and comments while shortening colors and gradients into their smallest possible representations. The tool uses a modular plugin architecture and preset-based optimization levels to balance compression intensity with browser compatibility. It allows for the adjustment of output based on a target list of supported browsers to ensure minified styles remain compatible across different environments. The

    This tool is a specialized CSS minifier that integrates with PostCSS and build pipelines to optimize stylesheets, though it focuses on compression rather than the extraction of unused or critical CSS.

    CSSCSS MinificationCSS Minification ToolsCSS Minifiers
    Voir sur GitHub↗4,974
  • fullhuman/purgecssAvatar de FullHuman

    FullHuman/purgecss

    8,043Voir sur GitHub↗

    PurgeCSS is a build-pipeline CSS purger and optimizer designed to reduce the final size of stylesheets. It functions as a tree shaking tool that scans HTML and JavaScript files to identify and remove unused selectors from CSS. The tool optimizes CSS payloads by performing static content analysis to detect which styles are actually used in the markup. It uses regex-based pattern matching to find potential class names without executing code and employs a PostCSS-based AST transformation to safely delete unused rules. The project provides capabilities for frontend build automation, allowing the

    PurgeCSS is a dedicated build-pipeline tool that directly addresses the core requirement of identifying and removing unused CSS through static analysis and PostCSS integration.

    TypeScriptCSS Unused Style Removers
    Voir sur GitHub↗8,043
  • addyosmani/criticalAvatar de addyosmani

    addyosmani/critical

    10,183Voir sur GitHub↗

    Critical is a tool for extracting and inlining the minimum CSS required to render above-the-fold content. It identifies the styles necessary for the initial visible portion of a page to reduce render-blocking requests and improve page load speed. The project generates resolution-specific stylesheets to optimize the initial paint across different device dimensions. It includes a utility to rebase asset URLs within extracted styles, ensuring that images and fonts load correctly when stylesheets are moved to different directories or content delivery networks. The tool provides a command-line in

    Critical is a specialized tool designed specifically for extracting and inlining above-the-fold CSS to improve page performance, directly addressing the core requirement for critical CSS generation.

    JavaScriptAbove-the-Fold Optimization
    Voir sur GitHub↗10,183
  • jakubpawlowicz/clean-cssAvatar de jakubpawlowicz

    jakubpawlowicz/clean-css

    4,202Voir sur GitHub↗

    Clean-CSS is a Node.js CSS optimizer and minifier designed to reduce stylesheet file sizes and improve web performance. It functions as a CSS post-processor that removes unnecessary whitespace, comments, and redundant properties from stylesheets. The project utilizes an abstract syntax tree for parsing and a multi-pass optimization pipeline to restructure rules and simplify properties. It features a plugin interface for custom style transformations and provides compatibility-aware minification to ensure styles remain functional across specific legacy browser versions. Additional capabilities

    This tool is a robust CSS minifier and optimizer that integrates into build pipelines, though it focuses on structural optimization and minification rather than the specific extraction of unused CSS or generation of critical CSS.

    JavaScriptCSS MinificationCSS Minification ToolsCSS Minifiers
    Voir sur GitHub↗4,202
  • uncss/uncssAvatar de uncss

    uncss/uncss

    9,408Voir sur GitHub↗

    Uncss is a build pipeline CSS optimizer and optimization tool designed to remove unused styles from stylesheets. It analyzes HTML files to identify and strip selectors that do not match any elements in the markup, reducing the final stylesheet size and overall web page weight. The tool functions as a DOM-based CSS analyzer that can simulate runtime document states. It provides mechanisms to preserve required selectors through the use of literal names, regular expressions, and specialized CSS comment markers to ensure styles triggered by user interactions are not deleted. The project supports

    This tool is a dedicated CSS optimizer that identifies and removes unused styles by analyzing HTML and DOM states, fitting the core requirement for CSS cleanup and payload reduction.

    JavaScriptCSS PurgingCSS Unused Style RemoversUnused Style Removal
    Voir sur GitHub↗9,408
  • goalsmashers/clean-cssAvatar de GoalSmashers

    GoalSmashers/clean-css

    4,202Voir sur GitHub↗

    clean-css is a Node.js CSS optimizer that functions as a minifier, bundler, and source map generator. It reduces stylesheet file sizes by removing whitespace and comments while optimizing colors and units to improve page load times. The tool features a plugin-driven pipeline that allows for custom optimization transformations and the preservation of specific code fragments via marker-based exclusions. It includes browser compatibility targeting to ensure optimized styles remain functional across specified browser versions. The project provides capabilities for bundling multiple stylesheets i

    This is a CSS minifier and bundler that performs structural optimizations and file size reduction, though it lacks the specific capability to detect unused CSS or generate critical CSS paths.

    JavaScriptCSS MinificationCSS Minifiers
    Voir sur GitHub↗4,202
  • clean-css/clean-cssAvatar de clean-css

    clean-css/clean-css

    4,201Voir sur GitHub↗

    Clean-CSS is a Node.js CSS optimizer that functions as a minifier, bundler, and post-processor. It is designed to decrease total stylesheet volume by removing whitespace, comments, and redundant code. The project provides a pipeline for applying custom transformations and browser compatibility adjustments. It allows for the programmatic modification of CSS rules and values through a plugin system and the use of custom optimization plugins. The tool covers a broad range of asset optimization capabilities, including stylesheet bundling, import rule inlining, and relative URL rebasing. It also

    Clean-CSS is a robust CSS minifier and processor that handles bundling and optimization, though it lacks the specific capability to perform dead-code analysis for unused CSS removal or automated critical CSS generation.

    JavaScriptCSS MinificationCSS MinifiersCSS Property Minification
    Voir sur GitHub↗4,201
  • css/cssoAvatar de css

    css/csso

    3,792Voir sur GitHub↗

    csso is a CSS minifier and optimizer that reduces stylesheet file sizes through structural analysis and algebraic transformations. It functions as an abstract syntax tree processor, converting styles into a structured tree to perform deep analysis and semantic-preserving code transformations while maintaining the original visual presentation. The project distinguishes itself through usage-aware optimization, analyzing external HTML markup and class identifiers to prune unused styles and reorganize rules based on actual document usage. It also performs structural refactoring by identifying and

    This tool performs structural CSS optimization and usage-aware pruning, making it a highly effective utility for reducing stylesheet bloat and improving performance in build pipelines.

    JavaScriptCSS MinificationCSS Minifiers
    Voir sur GitHub↗3,792
  • uncss/grunt-uncssAvatar de uncss

    uncss/grunt-uncss

    3,795Voir sur GitHub↗

    grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization plugin that identifies and deletes redundant style rules to reduce stylesheet file sizes and improve frontend performance. The tool analyzes HTML files and headless browser DOM states to detect styles that do not match any elements in the markup. It supports the protection of specific selectors through whitelists to ensure that styles for dynamically injected elements are preserved during the cleanup process. The project covers frontend asset minification by compressing cleaned

    This tool is a dedicated CSS dead code eliminator that integrates directly into build pipelines to identify and remove unused styles, fitting the core requirements for CSS optimization.

    HTMLCSS MinificationCSS Unused Style Removers
    Voir sur GitHub↗3,795
  • parcel-bundler/parcel-cssAvatar de parcel-bundler

    parcel-bundler/parcel-css

    7,576Voir sur GitHub↗

    parcel-css is a high-performance CSS bundler and processor written in Rust. It provides tools for parsing, transforming, and bundling stylesheets, utilizing a structured abstract syntax tree with typed property representations to ensure accurate analysis and modification. The project features a syntax lowerer that transpiles modern CSS into compatible versions based on target browser requirements and an automated system for managing vendor prefixes. It also includes a module scoper that isolates class and ID identifiers to prevent global namespace collisions. Additional capabilities include

    This tool provides high-performance CSS minification, bundling, and transformation capabilities, serving as a robust engine for CSS optimization pipelines even though it lacks built-in critical CSS extraction.

    RustCSS MinificationCSS Minifiers
    Voir sur GitHub↗7,576
  • parcel-bundler/lightningcssAvatar de parcel-bundler

    parcel-bundler/lightningcss

    7,581Voir sur GitHub↗

    Lightning CSS is a high-performance CSS toolchain implemented in Rust. It provides a comprehensive suite of tools for stylesheet processing, including a bundler, minifier, module compiler, syntax lowerer, and vendor prefixer. The engine utilizes a browser-grade grammar for parsing and converts stylesheets into typed property values. It distinguishes itself through a visitor-based transformation API that allows for custom modifications of the parsed abstract syntax tree and an error-tolerant parsing mechanism that recovers from malformed syntax to prevent build failures. The toolset covers br

    Lightning CSS is a high-performance CSS toolchain that handles minification, bundling, and syntax transformation, making it a powerful engine for CSS optimization even though it focuses on processing rather than specifically identifying unused code.

    RustCSS MinificationCSS Minifiers
    Voir sur GitHub↗7,581
  • windicss/windicssAvatar de windicss

    windicss/windicss

    6,515Voir sur GitHub↗

    Windi CSS is a utility-first CSS framework that generates only the CSS classes actually used in a project, scanning source files at build time to produce smaller, optimized stylesheets. It provides on-demand style generation through static analysis of HTML and template files, eliminating unused styles for leaner output. The framework offers a plugin-based extension system for adding custom utilities, variants, and design tokens without modifying the core. It includes built-in compatibility for migrating from Tailwind CSS, removing Tailwind-specific dependencies and configuration fields while

    Windi CSS is a utility-first framework that performs static analysis to generate only the CSS classes used in your project, effectively eliminating unused styles and optimizing performance at build time.

    TypeScriptCSS Unused Style RemoversUnused Style Removal
    Voir sur GitHub↗6,515
  • purifycss/purifycssAvatar de purifycss

    purifycss/purifycss

    9,863Voir sur GitHub↗

    PurifyCSS is a CSS unused style remover and payload optimizer that analyzes HTML and templates to identify and delete unused CSS selectors from stylesheets. It functions as a frontend build automation tool that integrates into development pipelines to automatically strip redundant styles and minify assets during the compilation phase. The tool provides specific optimization for single page applications, identifying and removing redundant CSS while ensuring necessary styles are preserved across dynamic views and states. The utility covers a range of capabilities including static content analy

    PurifyCSS is a dedicated tool for identifying and removing unused CSS selectors from your stylesheets, fitting the core requirement for CSS optimization and payload reduction. While it focuses primarily on unused CSS removal rather than critical CSS generation, it integrates directly into build pipelines to automate the cleanup process.

    JavaScriptCSS Purging
    Voir sur GitHub↗9,863
  • unocss/unocssAvatar de unocss

    unocss/unocss

    18,854Voir sur GitHub↗

    UnoCSS is an atomic CSS engine and utility-first framework that generates styles on-demand based on the specific classes used in your source code. By scanning your project files during the build process, it produces only the CSS necessary for your application, effectively minimizing bundle size and eliminating unused styles. The engine distinguishes itself through a highly modular, configuration-driven architecture that allows for deep customization of design tokens, rules, and presets. It supports advanced styling patterns such as attribute-based styling, tag-based styling, and dynamic varia

    UnoCSS is an atomic CSS engine that achieves the goal of unused CSS removal by generating styles on-demand based on your source code, though it functions as a utility-first framework rather than a traditional post-processing tool for existing stylesheets.

    TypeScriptContent-Scanning
    Voir sur GitHub↗18,854
  • tw-in-js/twindAvatar de tw-in-js

    tw-in-js/twind

    3,930Voir sur GitHub↗

    Twind is a utility-first styling library and JavaScript CSS-in-JS engine. It functions as a Tailwind CSS runtime compiler that transforms utility classes into CSS within the browser, as well as a build tool for extracting static CSS to improve page load performance. The project enables a utility-first styling workflow through a system of predefined classes and customizable theme presets. It supports the extension of styling rules and the definition of custom themes and variants to align the system with specific design requirements. The engine provides runtime CSS generation and just-in-time

    Twind is a CSS-in-JS engine that performs static style extraction to generate optimized CSS, serving as a specialized tool for performance-focused styling workflows rather than a general-purpose unused CSS scanner.

    JavaScriptTailwind CSS IntegrationCSS Build ToolsJavaScript Style Engines
    Voir sur GitHub↗3,930
  • geuis/helium-cssAvatar de geuis

    geuis/helium-css

    3,633Voir sur GitHub↗

    Helium-css is a command-line diagnostic utility designed to identify unused CSS selectors across web projects. By performing static analysis on style sheets and comparing them against the rendered document object model, the tool detects redundant style definitions that do not correspond to any elements on a page. The tool functions by automating a headless browser to crawl multiple URLs, aggregating selector usage data to provide a comprehensive view of CSS coverage for an entire website. This process allows developers to audit frontend assets and remove legacy code, which reduces the total s

    Helium is a JavaScript-based scanning tool designed specifically to identify unused CSS on live websites, directly addressing the core requirement for CSS optimization.

    JavaScriptCSS Selector PurgingStylesheet OptimizationsAsset Auditors
    Voir sur GitHub↗3,633
  • nmfr/optimize-css-assets-webpack-pluginAvatar de NMFR

    NMFR/optimize-css-assets-webpack-plugin

    1,135Voir sur GitHub↗

    This project is a Webpack plugin designed to automate the compression and refinement of CSS assets during the module bundling process. It functions as a build-time utility that intercepts generated stylesheets to reduce their total file size and improve performance for production deployments. The plugin distinguishes itself by providing a flexible architecture that supports third-party minification libraries, allowing developers to integrate specific compression engines into the build pipeline. It performs post-processing transformations on CSS files, including the identification and merging

    This is a Webpack plugin that integrates directly into build pipelines to perform CSS minification and optimization, though it lacks the specific capability to detect unused CSS or generate critical CSS.

    JavaScriptCSS MinificationWebpack Build Plugins
    Voir sur GitHub↗1,135
Comparez le top 10 en un coup d'œil
DépôtStarsLangageLicenceDernier push
cssnano/cssnano5KCSSMIT19 juin 2026
fullhuman/purgecss8KTypeScriptMIT19 juin 2026
addyosmani/critical10.2KJavaScriptapache-2.024 janv. 2026
jakubpawlowicz/clean-css4.2KJavaScriptMIT18 oct. 2024
uncss/uncss9.4KJavaScriptMIT18 juin 2024
goalsmashers/clean-css4.2KJavaScriptMIT18 oct. 2024
clean-css/clean-css4.2KJavaScriptMIT18 oct. 2024
css/csso3.8KJavaScriptMIT21 juin 2024
uncss/grunt-uncss3.8KHTMLMIT18 juil. 2023
parcel-bundler/parcel-css7.6KRustMPL-2.016 juin 2026

Related searches

  • bibliothèque pour créer des animations CSS
  • Table extraction tools
  • CSS, styling et dataviz
  • a library for extracting color palettes
  • une bibliothèque de style CSS-in-JS sans runtime
  • extraire des données structurées de pages web
  • a library for dynamic html class binding
  • un outil de web scraping pour l'extraction de données