Toolmanor

JavaScript formatter

Paste messy or minified JavaScript, JSX or TypeScript to get properly indented, readable code; choose quotes, semicolons, trailing commas and line width.

How to format JavaScript

  1. Paste code on the left or open a .js, .jsx, .ts or .tsx file.
  2. Pick JavaScript or TypeScript, then the indent, line width, quotes, semicolons and trailing commas your project uses.
  3. Copy or download the formatted file.

Frequently asked questions

Related tools