First copy-paste your Javascript into text box Or you can upload some Javascript file from your local device Then select Indentation level Click on "Format Javascript" button, you will see Formatted Javascript output below Click "Copy" for copy to clipboard or "Save" for save on your device