JS Formatter

Type unformatted JS (Input) :


            

Beautified JS (Output) :


            

Examples

Type minified JS like below:

jQuery(document).ready(function(){$("button").click(function(){$("p").hide();});});

Becomes with formatted :

jQuery(document).ready(function () {
	$("button").click(function () {
		$("p").hide();
	});
});