How to deminify javascript [duplicate]

2019-02-02 09:57发布

Possible Duplicate:
Online Tool to Unminify / Decompress JavaScript
Tool to reverse Javascript minify?

Is there a way to convert minified JavaScript code into normal?

3条回答
Evening l夕情丶
2楼-- · 2019-02-02 10:17

http://jsbeautifier.org/ works like a charm.

Most software distributed under the GPL license will also provide non-minified code.

查看更多
爷的心禁止访问
3楼-- · 2019-02-02 10:19

I use WebStorm by JetBrains for my Javascript IDE, it has auto-format which seems to do the trick pretty well.

查看更多
我命由我不由天
4楼-- · 2019-02-02 10:21

Chrome's native object inspector will format JS for you, but it won't be able to make sense of the variable names - nothing will.

If you want an online solution, use JSBeautifier. It works well, and is also very handy for making sense of some of the questions you see here on StackOverflow.

查看更多
登录 后发表回答