--- id: cssbeautifier version: "2.0.3" license: MIT license_treatment: permissive maintenance: active --- # cssbeautifier — CSS unobfuscator and beautifier. License: permissive · Maintenance: active · Downloads: 3.6M/mo ## What it is and what it does cssbeautifier is a Python tool that takes minified or obfuscated CSS code and reformats it into readable, properly indented output. It integrates with jsbeautifier for core beautification logic and respects editorconfig settings for formatting preferences. The package is useful when you need to inspect, debug, or understand CSS that has been minified for production, or when working with obfuscated stylesheets. It's a straightforward utility that accepts CSS as input and returns formatted output, making it suitable for build pipelines, development tools, or one-off formatting tasks. Use it for: - Unminify production CSS files to inspect styles during debugging or security review - Deobfuscate intentionally obscured CSS to understand third-party stylesheets - Reformat CSS in build pipelines to enforce consistent code style before deployment - Convert compressed CSS dumps from browser DevTools into readable format for analysis - Integrate CSS formatting into editor plugins or IDE extensions via the beautifier API ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Beautifies, unpacks, and deobfuscates CSS code to make it human-readable and properly formatted. Yes. The package has low install friction, permissive licensing, no known vulnerabilities, active maintenance, and a clear single purpose. Install it if you need to beautify CSS programmatically or as part of a toolchain; skip it if you only format CSS in your editor. ## Install pip install cssbeautifier uv add cssbeautifier poetry add cssbeautifier ## Installing cssbeautifier Before you install: Low friction install with two lightweight runtime dependencies (jsbeautifier and editorconfig). Active maintenance status with a recent release. License in practice: MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions. Quickstart: pip install cssbeautifier import cssbeautifier beautified = cssbeautifier.beautify(minified_css_string) Verify before relying: - Whether the package supports modern CSS syntax (CSS Grid, custom properties, etc.) - Performance characteristics on large or heavily minified CSS files - Whether output formatting is configurable beyond editorconfig integration ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 3.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags css beautifier, css formatter, unobfuscate css, css deobfuscator, minified css unpack, css prettifier, readable css formatting, css-formatting, code-beautification [View on SkillFed](https://skillfed.io/packages/cssbeautifier) · [View on PyPI](https://pypi.org/project/cssbeautifier/)