Scroll to navigation

CSS-BEAUTIFY(1) User Commands CSS-BEAUTIFY(1)

NAME

css-beautify - beautify, unpack or deobfuscate CSS

DESCRIPTION

css-beautify.js@1.15.4

CLI Options:

Input file(s) (Pass '-' for stdin)
Write output in-place, replacing input
Write output to file (default stdout)
Path to config file
[js|css|html] ["js"]
Suppress logging to stdout
Show this help
Show the version

Beautifier Options:

Indentation size [4]
Indentation character [" "]
Indent with tabs, overrides -s and -c
Character(s) to use as line terminators. [first newline in file, otherwise "\n]
End output with newline
Keep indentation on empty lines
List of templating languages (auto,none,angular,django,erb,handlebars,php,smarty) ["auto", auto = none in JavaScript, auto = all except angular in html (and inline javascript/css)]
Use EditorConfig to set up the options
[collapse|expand] ["collapse"]
Add a newline between multiple selectors.
Add a newline between CSS rules.
March 2025 css-beautify 1.15.4