Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

JavaScript formatter

Beautify JavaScript with Prettier, with your choice of indent, line width, semicolons and quote style.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on Code formatter, where every option is there to change.

Loading JavaScript formatterRuns on this device. Nothing is uploaded.

Questions

Does it support JSX and modern syntax?

Yes. It uses Prettier's Babel parser, which reads modern JavaScript, JSX, import and export, and top level await.

Can it make minified code readable?

It restores line breaks and indentation. Names that a minifier shortened, such as a and b, stay short, since the original names are gone.

Is my code uploaded?

No. Prettier runs in this tab and the page sends your code nowhere.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.