awesome-repositories.com
Blog
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
beautifier avatar

beautifier/js-beautify

0
View on GitHub↗
8,975 stars·1,418 forks·JavaScript·MIT·16 viewsbeautifier.io↗

Js Beautify

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 web language standardization. This includes the ability to apply specific brace styles, indentation rules, and line wrap lengths across different web-based languages.

Features

  • Web Code Reformatters - Standardizes indentation and layout for web languages to improve the readability of minified or obfuscated source code.
  • Code Beautifiers - Reconstructs minified or compressed HTML, CSS, and JavaScript code into a human-readable format with consistent styling.
  • Formatting Configurations - Provides user-defined settings to control indentation size, brace styles, and line wrap lengths via configuration files.
  • Indentation Rules - Implements a rule-based system for defining and applying consistent brace and indentation logic.
  • Nesting Level Tracking - Maintains a nesting level counter to apply consistent indentation based on opening and closing brackets.
  • JavaScript Formatters - Standardizes the indentation and layout of JavaScript source code to improve overall readability and maintainability.
  • Lexical Tokenizers - Uses regular expressions to break raw source code into a stream of individual tokens for language-specific processing.
  • Style Guide Enforcers - Automatically enforces strict standards for brace styles and indentation rules through shared configuration files.
  • JavaScript and TypeScript Formatting - Provides dedicated styling and layout enforcement to make messy or minified JavaScript source code readable.
  • Layout Templates - Implements a system that maps user configurations to formatting templates for consistent brace and whitespace placement.
  • In-File Formatting Overrides - Allows users to control formatting behavior for specific file sections using embedded comment directives.
  • Sequential Formatting Passes - Applies a series of discrete transformation rules through sequential passes over the token stream to satisfy layout constraints.
  • Minified Code Unpackers - Converts compressed or obfuscated web code back into a human-readable format for debugging and analysis.
  • Web Language Style Standardization - Applies uniform indentation and layout rules across JavaScript, HTML, and CSS files within a web project.

Star history

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

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

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

Frequently asked questions

What does beautifier/js-beautify do?

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.

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

The main features of beautifier/js-beautify are: Web Code Reformatters, Code Beautifiers, Formatting Configurations, Indentation Rules, Nesting Level Tracking, JavaScript Formatters, Lexical Tokenizers, Style Guide Enforcers.

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

Open-source alternatives to beautifier/js-beautify include: beautify-web/js-beautify — js-beautify is a web language beautifier and code formatter designed to standardize the layout and structure of… nicklockwood/swiftformat — SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It… web-infra-dev/oxc — oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript… rome/tools — This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools… prettier/prettier-eslint — prettier-eslint is a command-line code stylist and JavaScript formatter that integrates Prettier and ESLint. It… checkstyle/checkstyle — Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best…

Open-source alternatives to Js Beautify

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

    beautify-web/js-beautify

    8,973View on GitHub↗

    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

    JavaScript
    View on GitHub↗8,973
  • nicklockwood/swiftformatnicklockwood avatar

    nicklockwood/SwiftFormat

    8,835View on GitHub↗

    SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It automatically applies consistent style rules and visual formatting to source files to ensure a uniform appearance across a project. The project differentiates itself by providing both a command-line interface for batch processing and an Xcode extension for integration directly into the development environment. It includes specialized capabilities for modernizing legacy API usage, simplifying language constructs, and inferring formatting options by analyzing an existing codebase

    Swift
    View on GitHub↗8,835
  • rome/toolsrome avatar

    rome/tools

    23,417View on GitHub↗

    This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools for bundling, parsing, linting, and formatting source code. The toolchain is implemented in Rust and utilizes a shared internal representation to allow multiple tools to operate on the same parsed source code. It employs a parallelized analysis pipeline and single-pass parsing with error recovery to process files across CPU cores. The suite covers several core capability areas, including static analysis for identifying programmatic errors, automated style standardization, and

    Rustformatterjavascriptlinter
    View on GitHub↗23,417
  • web-infra-dev/oxcweb-infra-dev avatar

    web-infra-dev/oxc

    21,721View on GitHub↗

    oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript and TypeScript source code. It provides a set of core utilities including a parser that converts code into an abstract syntax tree, a linter for identifying problematic patterns, a formatter for standardizing visual style, and a minifier for reducing production file sizes. The project focuses on high-performance execution through a system design that utilizes single-pass parsing, zero-copy string slicing, and parallel worker processing to handle large codebases. It further opti

    Rust
    View on GitHub↗21,721
  • See all 30 alternatives to Js Beautify→