--- id: jsbeautifier version: "2.0.3" license: MIT license_treatment: permissive maintenance: active --- # jsbeautifier — JavaScript unobfuscator and beautifier. License: permissive · Maintenance: active · Downloads: 7.2M/mo ## What it is and what it does jsbeautifier is a Python package that reformats and deobfuscates JavaScript code. It takes minified, obfuscated, or packed JavaScript and outputs human-readable code with proper indentation and formatting. The package is designed to handle output from popular online obfuscators, making it useful for code analysis, security review, or recovering readable source from minified distributions. The package has a single runtime dependency on editorconfig and installs with low friction. It has been actively maintained since its initial release in 2013, with recent activity indicating ongoing support. Use it for: - Reverse-engineer minified JavaScript from production websites for security auditing - Unpack obfuscated malware samples for analysis and threat intelligence - Recover readable source code from packed or compressed JavaScript libraries - Format and debug JavaScript that has been processed through online obfuscators - Automate beautification of JavaScript in build pipelines or CI/CD workflows ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Beautifies, unpacks, and deobfuscates JavaScript code, including output from popular online obfuscators. Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and addresses a specific need in JavaScript analysis and code recovery. No known vulnerabilities. Suitable for developers, security researchers, and automation tasks involving JavaScript code inspection. ## Install pip install jsbeautifier uv add jsbeautifier poetry add jsbeautifier ## Installing jsbeautifier Before you install: Low install friction with a single runtime dependency (editorconfig). Active maintenance status with a release 45 days ago. License in practice: MIT license is permissive, allowing commercial and private use with minimal restrictions. Quickstart: pip install jsbeautifier import jsbeautifier beautified = jsbeautifier.beautify('var x=1;var y=2;') print(beautified) Verify before relying: - Whether the package supports modern JavaScript syntax (ES6+, async/await, etc.) - Specific obfuscators the package is known to handle effectively - Performance characteristics on large or deeply obfuscated files ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 7.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags javascript beautifier, js deobfuscator, unpack minified javascript, javascript formatter, code beautification tool, obfuscated code decoder, minified js unpack, javascript-tools, code-analysis, deobfuscation [View on SkillFed](https://skillfed.io/packages/jsbeautifier) · [View on PyPI](https://pypi.org/project/jsbeautifier/)