Minification is the process of minimizing code and markup in your web pages and script files. It’s one of the main methods used to reduce load times and bandwidth usage on websites. Minification dramatically improves site speed and accessibility, directly translating into a better user experience. The minified version of this sample code is 48% smaller. In some cases, minification can reduce file size by as much as 60%.
It can help in the seo and it can be used in the ranking of the website in the google
What’s beautify?
Beautify reformats source code to improve readability by an human. This basically means reformatting source code to follow some (user-defined) coding convention (i.e. reindenting, splitting long lines, adding whitespace to make code lighter to read, etc.).
You can use this platform to minify
https://minifier.azanic.com/javascript-minifier