js-beautify
« Back to VersTracker
Description:
JavaScript, CSS and HTML unobfuscator and beautifier
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: javascript beautifier formatter html css cli
Install: brew install js-beautify
About:
JsBeautify is a command-line utility and library that automatically formats minified or messy JavaScript, CSS, and HTML code. It restores readability by adding proper indentation, whitespace, and line breaks without altering the code's functionality. This tool is essential for developers debugging third-party scripts or reviewing obfuscated source files.
Key Features:
  • Supports JavaScript, CSS, and HTML formatting
  • CLI tool and Node.js library available
  • Configurable indentation and whitespace rules
  • Handles minified code effectively
Use Cases:
  • Debugging minified JavaScript files in browser developer tools
  • Standardizing code style across a legacy HTML/CSS project
  • Reverse engineering obfuscated web scripts for analysis
Alternatives:
  • Prettier – Prettier is a more modern, opinionated code formatter with broader language support, whereas JsBeautify focuses specifically on web technologies and offers more granular configuration.
  • ESLint – ESLint focuses on linting for code quality and error detection, while JsBeautify focuses strictly on formatting and style.
Version History
Detected Version Rev Change Commit
Sep 14, 2024 10:12am 0 VERSION_BUMP 8db1b851