Developer 工具已更新 4 个月前

Unminify JS (Javascript)

Unminify, Format your messy JavaScript (JS) source code to make it easier and faster to read and understand.

Unminify JS Beautify Script Readable Code Developer Tool

使用 Unminify JS (Javascript)

粘贴代码文件的直接链接,将其内容加载到编辑器中。

输出

完成

阅读内容

了解该工具的工作原理以及何时使用它。

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.

评论 (0)

用于用户讨论、边界情况及后续建议。
发表评论
您的评论提交后将公开展示。
目前尚无评论。快来发表第一条评论吧!
请告诉我们!
报告此工具的问题

请描述您遇到的问题,以便我们进行调查并改进该工具。

什么最有帮助
请提供输入内容、预期结果、实际结果、浏览器/设备信息,如有帮助,请附上截图。
“截图”按钮会截取浏览器中的页面,并将生成的图片作为附件添加到此表单中。
整页截图
通过 newisty 在您的浏览器中捕获。
尚未截取屏幕截图。
工具 报告