Skip to content

Formatadores e Código

Formatador GraphQL

Formatador GraphQL gratuito. Organize consultas, mutações, subscrições e esquemas SDL com o parser GraphQL do Prettier. Cole, formate, copie — inteiramente no navegador.

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

Nota do editor

Understanding · Queries, prettified.

Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.

Perguntas frequentes

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.

As pessoas também pesquisam por

Ferramentas relacionadas

More in this room.

Ver tudo em Formatadores e Código