Início
Tom Utilities

Formatador JavaScript

HTML, CSS e JavaScript

Embeleza JavaScript com recuo, espaçamento e quebras de linha adequados.

Entrada

Resultado

Como usar

How to format JavaScript

Paste JavaScript and press Format. Statements and blocks are placed on readable lines.

  1. Paste JavaScript into the input editor.
  2. Press Format.
  3. Copy the beautified code.

Perguntas frequentes

Will my code still run?

Yes, formatting only changes whitespace and line breaks, never logic.

Is my code sent anywhere?

No, formatting happens in your browser and the code is never uploaded.