Unminify JS (Javascript)

Tool Updated: 01-05-2022 02:43:08 am
Unminify, Format your messy JavaScript (JS) source code to make it easier and faster to read and understand.

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler


What is Unminifying?

Unminifying or formatting source code is to reformation of source code to improve code readability, based on an analysis of the syntax for a human for some user-defined conventions like re-indenting codes lines, splitting the code into lines, creating blocks, adding white spaces at required places to make it easier and faster to read and understand.

    Difference of Unminified JS and Minified or non Beautified JS

Minified JS:

function loadData(parameter){$.get('https://www.google.com',function(data){console.log(data)
showData(data)});}
function showData(data){document.getElementById("set_data").innerHTML=data;}
window.onload=function(){console.log('page loaded')}
alert("Testing functionalities");

Unminify JS:

    function loadData(parameter){
        $.get('https://www.google.com', function(data) {
            console.log(data)
            showData(data)
        });
    }
    function showData (data) {
        // body... 
        document.getElementById("set_data").innerHTML = data;
    }
    window.onload = function(){
        console.log('page loaded')
    }
    alert("Testing functionalities");

How to use this Unminify JS 

You can Unminify your JS code by using this tool. This JS Unminifier tool is very simple to use. To Unminify JS just put the targeted webpage URL or paste JS code and click Beautify Button. Booom, your Unminifed code is ready for use. Now you can copy your code or download it.

Comment