# clean-css

CSS optimizer that minifies and rewrites stylesheets for Node.js and for use in a browser.


Source: https://findsoftware.frbit.cloud/clean-css/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://clean-css.github.io/
- repository: https://github.com/clean-css/clean-css

### Identity

- status: active
- maintainer: Jakub Pawlowicz
- maintainerType: individual
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: build-tool
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: node 10
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: local, browser
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2023-11-30

### Adoption

- githubStargazers: 4199
- packagistDownloads: not applicable
- npmWeeklyDownloads: 25737624
- contributors: 88
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 2829869
- dependentPackages: 3850

### Sources

- urls: https://clean-css.github.io/ (read 2026-10-28)
- urls: https://api.github.com/repos/clean-css/clean-css (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/clean-css/clean-css/master/package.json (read 2026-10-28)
- maintainerType: https://raw.githubusercontent.com/clean-css/clean-css/master/package.json (read 2026-10-28)
- firstRelease: https://registry.npmjs.org/clean-css (read 2026-10-28)
- category: https://raw.githubusercontent.com/clean-css/clean-css/master/README.md (read 2026-10-28)
- language: https://api.github.com/repos/clean-css/clean-css (read 2026-10-28)
- runtime: https://raw.githubusercontent.com/clean-css/clean-css/master/README.md (read 2026-10-28)
- runtimeMin: https://github.com/clean-css/clean-css/blob/v5.3.3/package.json (read 2026-10-28)
- installMethod: https://raw.githubusercontent.com/clean-css/clean-css/master/README.md (read 2026-10-28)
- runsAs: https://raw.githubusercontent.com/clean-css/clean-css/master/README.md (read 2026-10-28)
- runsAs: https://raw.githubusercontent.com/clean-css/clean-css/master/README.md (read 2026-10-28)
- license: https://api.github.com/repos/clean-css/clean-css (read 2026-10-28)
- license: https://raw.githubusercontent.com/clean-css/clean-css/v5.3.3/LICENSE (read 2026-10-28)
- licenseModel: https://raw.githubusercontent.com/clean-css/clean-css/v5.3.3/LICENSE (read 2026-10-28)
- currentMajor: https://api.github.com/repos/clean-css/clean-css/tags (read 2026-10-28)
- latestReleaseDate: https://registry.npmjs.org/clean-css (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/clean-css/clean-css (read 2026-10-28)
- contributors: https://api.github.com/repos/clean-css/clean-css/contributors (read 2026-10-28)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/clean-css (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/clean-css (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/clean-css (read 2026-10-28)

## Notes

clean-css is a CSS optimizer for stylesheets. The [README](https://github.com/clean-css/clean-css/blob/master/README.md) says it runs on Node.js and in browsers, and the install step adds it to a project as a development dependency. Third-party plugins connect it to other build tools, while the command-line tool ships as the separate clean-css-cli package.

## Worth knowing

The README says the project is in maintenance mode. Pull requests are still accepted, and the maintainer intends an occasional bugfix release.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
