Copy and paste, upload, drag and drop a JS file or directly type in the editor below.
There is no file size limit. Your files are not sent to our servers, they remain in your browser.
You can see the user guide to help you.
Fill the editor with your source code. You have several possibilities:
Choose the options (Below the editor).
Depending on your needs, click on:
Click on "Copy to clipboard" button in order to copy the code to clipboard.
Beautifying is to reformat source code to improve readability for a human by following conventions. This consists of re-indenting, add line breaks, ...
Minification and compression do not correspond to the same processing:
This tool can be used occasionally. For a daily need, you have to script and directly use the libraries used by this page (or others ...).
It uses the Terser library (fork of uglify-es) and Prettier library.