Skip to content
DT

JavaScript beautifier

Re-indent JavaScript while preserving strings, template literals, regexes and comments.

Input

Fill in the fields below, then run the tool.

Processed on the server and never stored. Press Ctrl/⌘ + Enter to run.

Clear

About this tool

Re-indent JavaScript while preserving strings, template literals, regexes and comments.

Related tools