JavaScript Cleaner
- aaa +
Cleaning Options

HTML <style> and <script> formatting:

Keep in mind
  • Always keep a backup and verify your code before publishing!
  • We use cookies to collect anonymous visitor analytics and to show personalized ads.
  • This website doesn't send your code to the server and doesn't save it. We use cookies to improve user experience.
  • Please report if you find an error or you have any suggestion.

JavaScript Cleaner - Free Online JS Beautifyer

Online HTML code cleaner

This free online JavaScript code beautifier and cleaner tool allows you to tidy and optimize your code. Wheather it's an obfuscated, minimized or just a messy script, this program will help you bring it to a more readable format.

How To Use?

Take the JS code you want to work with and paste it in the editor. Click the Clean JS button to organize the script according to the cleaning options you set using the checkboxes and dropdowns in the attached window.

The JSBeautifier script is free and open source, available on GitHub, under MIT license.