awesome-repositories.comCategoriesBlog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
beautify-web avatar

beautify-web/js-beautify

0
View on GitHub↗
beautifier.io↗

Js Beautify

js-beautify is a web language beautifier and code formatter designed to standardize the layout and structure of JavaScript, HTML, and CSS files. It reorganizes source code into a consistent, readable style by applying configurable indentation and spacing rules.

The project includes a utility for unpacking minified scripts, which transforms compressed or obfuscated JavaScript into a human-readable format. It provides a command-line interface for executing bulk code reformatting across multiple files.

The tool supports customizable formatting rules and language-specific overrides, which can be managed via configuration files, environment variables, or in-file formatting directives used to ignore specific code blocks.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Code Formatters - Ships a comprehensive CLI tool for executing bulk code reformatting across multiple files using external configurations.
  • JavaScript Formatters - Reorganizes JavaScript source code into a consistent and readable style based on configurable indentation and spacing rules.
  • CLI Code Formatters - Provides a command-line interface for executing bulk code reformatting and outputting results to files or the terminal.
  • Formatting Rule Overrides - Allows configuration of indentation size and spacing via command-line flags, environment variables, or configuration files.
  • CSS Formatters - Standardizes the indentation and spacing of CSS files to improve the readability of style definitions.
  • Formatting Configurations - Provides a system to map user-defined flags and configuration files to internal code layout rules.
  • HTML Formatters - Adjusts the nesting and indentation of HTML elements to make the document structure easier to follow.
  • Multi-Language Code Formatters - Standardizes indentation and layout across JavaScript, HTML, and CSS to ensure consistent readability across a web project.
  • Source Code Beautifiers - Standardizes the layout and structure of JavaScript, HTML, and CSS files to improve developer readability.
  • Code Unpackers - Provides a utility that reverses the effects of script packers and obfuscators to make minified JavaScript human-readable.
  • Formatting Exclusion Directives - Implements mechanisms for developers to selectively disable formatting for specific code blocks using in-file comments.
  • Command Line Interfaces - Provides a production-ready command-line application for automatically cleaning up source code files.
  • Web Development Tooling - Applies uniform layout and indentation rules across JavaScript, CSS, and HTML files to maintain a consistent codebase.
  • Unpacking Heuristics - Identifies and expands minified code structures by repeatedly applying formatting rules until the layout stabilizes.
  • Lexical Tokenizers - Uses regular expression-based lexical tokenizers to break source code into meaningful streams of language-specific symbols.
  • Language-Specific Formatting Overrides - Supports defining specific formatting rules for different languages while inheriting global settings.
  • Multi-Language Grammar Mapping - Uses a shared core architectural engine with specialized rule sets to handle JavaScript, CSS, and HTML syntax.
  • State-Machine Parsers - Implements a state-machine parser to track nesting levels and determine precise whitespace and indentation placement.
  • Minified Code Unpackers - Transforms compressed or obfuscated JavaScript into a human-readable format to facilitate analysis and debugging of production code.
  • Code Quality Tools - Beautifies JavaScript code.
  • Editor Extensions - Formats and cleans up source code for various programming languages.
  • Quality Assurance - Code formatting library and CLI.
  • Reverse Engineering Tools - Utility for deobfuscating and formatting JavaScript code.
8,973 stars·1,421 forks·JavaScript·MIT·13 views

Star history

Star history chart for beautify-web/js-beautifyStar history chart for beautify-web/js-beautify

Frequently asked questions

What does beautify-web/js-beautify do?

js-beautify is a web language beautifier and code formatter designed to standardize the layout and structure of JavaScript, HTML, and CSS files. It reorganizes source code into a consistent, readable style by applying configurable indentation and spacing rules.

What are the main features of beautify-web/js-beautify?

The main features of beautify-web/js-beautify are: Code Formatters, JavaScript Formatters, CLI Code Formatters, Formatting Rule Overrides, CSS Formatters, Formatting Configurations, HTML Formatters, Multi-Language Code Formatters.

What are some open-source alternatives to beautify-web/js-beautify?

Open-source alternatives to beautify-web/js-beautify include: beautifier/js-beautify — js-beautify is a web language beautifier and rule-based code stylizer designed to standardize the indentation and… prettier/prettier — Prettier is an opinionated code formatter that parses source code and reprints it from scratch to enforce a… prettier/prettier-eslint — prettier-eslint is a command-line code stylist and JavaScript formatter that integrates Prettier and ESLint. It… rust-lang-nursery/rustfmt — rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide.… nicklockwood/swiftformat — SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It… stylelint/stylelint — Stylelint is a static code analysis tool and linter for CSS and style-like languages. It identifies errors, enforces…

Open-source alternatives to Js Beautify

Similar open-source projects, ranked by how many features they share with Js Beautify.
  • beautifier/js-beautifybeautifier avatar

    beautifier/js-beautify

    8,975View on GitHub↗

    js-beautify is a web language beautifier and rule-based code stylizer designed to standardize the indentation and layout of JavaScript, HTML, and CSS. It converts minified or obfuscated source code into a human-readable format to improve maintainability and readability. The system enforces consistent coding styles through global configuration files and programmatic options. It also supports local formatting overrides, allowing users to control behavior for specific sections of a file using embedded comment directives. The project provides capabilities for source code style enforcement and we

    JavaScriptcsshacktoberfesthtml
    View on GitHub↗8,975
  • prettier/prettierprettier avatar

    prettier/prettier

    52,088View on GitHub↗

    Prettier is an opinionated code formatter that parses source code and reprints it from scratch to enforce a consistent, project-wide visual style. By transforming code into an abstract syntax tree and applying a recursive document printing process, it eliminates manual style debates and ensures that all source files adhere to a unified appearance. The project is distinguished by its extensible, plugin-based architecture, which decouples language-specific parsing logic from the core engine. This modular design allows for uniform style enforcement across diverse programming languages and comple

    JavaScriptangularastcss
    View on GitHub↗52,088
  • prettier/prettier-eslintprettier avatar

    prettier/prettier-eslint

    4,103View on GitHub↗

    prettier-eslint is a command-line code stylist and JavaScript formatter that integrates Prettier and ESLint. It functions as a linter wrapper, coordinating a sequential pipeline of formatting and linting tasks to ensure source code is both aesthetically consistent and rule-compliant. The tool resolves conflicts between style guides and logic rules by executing linting fixes after formatting. It allows for a configurable formatting sequence to prioritize specific rules and can identify unformatted files to facilitate use in version control hooks. The project provides capabilities for automati

    TypeScripteslintformatterhacktoberfest
    View on GitHub↗4,103
  • rust-lang-nursery/rustfmtrust-lang-nursery avatar

    rust-lang-nursery/rustfmt

    6,877View on GitHub↗

    rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide. It functions as both a code formatter for transforming source files and a style linter used to verify if code matches required formatting rules. The system is configurable, allowing for the definition of custom formatting rules and language editions through configuration files to override default styles. It also supports selective formatting by using dedicated skip markers to prevent specific blocks of code from being modified. The tool provides capabilities for both source

    Rust
    View on GitHub↗6,877
See all 30 alternatives to Js Beautify→