Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Code formatter

Format HTML, CSS, JavaScript, TypeScript, JSON, Markdown and YAML with Prettier, right in your browser, with indent and quote options.

Runs in your browserNothing uploadedWorks offline
Loading Code formatterRuns on this device. Nothing is uploaded.

Questions

Is this the real Prettier?

Yes. It runs Prettier's official standalone build with its parsers for each language, so the output matches Prettier with the same options. The parsers load the first time you format.

Why does it say my code has an error?

Prettier has to parse code before it can lay it out, so it stops on syntax errors and reports the line and column. Fix that spot, or check that the right language is selected.

Is my code uploaded?

No. Formatting happens in your browser and the page makes no network requests with your code.

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.