Your tools. Your flow.
Make your JavaScript clear.
Give functions, objects and conditions a consistent indentation.
Source
One identifier. One of a kind.
Choose a quantity and generate UUID v4 identifiers in one click.
Modified text
Output
Something needs a small fix…
Your code is never executed. Formatting does not replace a linter.
How to format JavaScript online
The JavaScript formatter reorganizes spaces and line breaks in your source code. Use it to inspect a compact function, object or nested condition. Choose two spaces, four spaces or a tab, then copy the result into your editor. Formatting happens locally and your code is never evaluated.
Is my code executed while formatting?
No. The formatter processes source text without running your functions or making network calls contained in the code.
Is this a linter or TypeScript compiler?
No. This tool indents JavaScript. It does not replace a linter, a test suite or a TypeScript compiler.