This little beautifier will reformat and re-indent bookmarklets, ugly JavaScript, unpack scripts packed by Dean Edward’s popular packer, as well as partly deobfuscate scripts processed by the npm package javascript-obfuscator. All of the source code is completely free and open, available on GitHub under MIT licence, and we have a command-line version, python library and a node package as well. You may install the NPM package js-beautify. When installed globally, it provides an executable js-beautify script. As with the Python script, the beautified result is sent to stdout unless otherwise configured. You can also use js-beautify as a node library (install locally, the npm default). The beautifier can be added on your page as web library. JS Beautifier is hosted on two CDN services: cdnjs and rawgit. You can beautify javascript using JS Beautifier in your web browser, or on the command-line using node.js or python.

Features

  • The beautifier can be added on your page as web library
  • JS Beautifier is hosted on two CDN services, cdnjs and rawgit
  • You can beautify javascript using JS Beautifier in your web browser
  • The settings are a shallow tree whose values are inherited for all languages
  • Directives let you control the behavior of the Beautifier from within your source files
  • Options are available via the UI

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow JS Beautifier

JS Beautifier Web Site

Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus Icon
Your top-rated shield against malware and online scams | Avast Free Antivirus

Browse and email in peace, supported by clever AI

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JS Beautifier!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Data Formats Software, JavaScript Obfuscators

Registered

2021-08-04