常用的JS格式化在线工具有以下几个:
1. JSBeautifier:https://www.jsbeautifier.org/
2. Code Beautify:https://www.codebeautify.org/js-beautify-minify
3. JavaScript Beautifier:https://javascriptbeautifier.com/
4. Online JavaScript Beautifier:https://www.prettifyjavascript.com/
5. Beautify Tools:https://beautifytools.com/javascript-beautifier.php
6. JSFiddle:https://jsfiddle.net/ (提供在线编辑和运行JavaScript代码的平台,同时也有格式化功能)