Skip to content

Formattatori e Codice

Formattatore GraphQL

Formattatore GraphQL gratuito. Riordina query, mutazioni, sottoscrizioni e schemi SDL con il parser GraphQL di Prettier. Incolla, formatta, copia — interamente nel browser.

Runs in your browser
GraphQL formatter & validator
lines: 0chars: 0size: 0 B
GraphQL · UTF-8 · 2-space indent

Nota dell'editore

Understanding · Queries, prettified.

Questo capitolo approfondito è attualmente disponibile solo in inglese. Lo strumento di conversione qui sopra funziona nella tua lingua; il lungo articolo esplicativo non è stato ancora tradotto.

Domande frequenti

Quick answers.

Does it format queries or just schemas?

Both. Queries, mutations, subscriptions, fragments and schema SDL all go through the same Prettier parser.

Does it validate against my schema?

No — it's a syntactic formatter only. For schema-aware validation use a dedicated client like GraphiQL or Apollo Studio.

Does it handle multi-operation documents?

Yes — multiple queries or mutations in a single document are formatted and separated consistently.

Is my query sent anywhere?

No — everything runs in your browser.

Le persone cercano anche

Strumenti correlati

More in this room.

Vedi tutto in Formattatori e Codice