Code Formatter (Prettier)

Tidy up messy JavaScript, CSS, HTML, Markdown or YAML in one click.

Funziona al 100% nel browser. I tuoi file non vengono caricati su nessun server.

Come usare Code Formatter (Prettier)

  1. Paste your code into the left box.
  2. Choose the language, indentation and quote style.
  3. Click Format, then copy or download the result.

Domande frequenti

What is Prettier?

Prettier is an open-source (MIT) code formatter used by millions of developers. It prints code in one consistent style, so every file in a project looks the same.

Is my code uploaded anywhere?

No. Prettier runs entirely in your browser, and your code is processed on your own device.

Which languages are supported?

JavaScript and JSX, CSS, HTML, Markdown and YAML. TypeScript needs a separate parser, which is not included here.

Code Formatter (Prettier) è gratis?

Sì. Code Formatter (Prettier) è gratuito, senza registrazione e senza filigrana.

I miei file vengono caricati sul vostro server?

No. Tutta l'elaborazione avviene in locale nel browser con JavaScript e WebAssembly. I tuoi file non lasciano mai il dispositivo, ed è anche per questo che è veloce e riservato.

Funziona sul telefono?

Sì. Funziona in qualsiasi browser moderno su Windows, Mac, Linux, Android e iPhone. I file molto grandi possono essere lenti sui telefoni più vecchi.

Altri strumenti: Testo e sviluppo

Vedi tutti