Trình định dạng GraphQL
Trình định dạng GraphQL miễn phí. Sắp xếp các truy vấn, mutation, subscription và lược đồ SDL bằng trình phân tích cú pháp GraphQL của Prettier. Dán, định dạng, sao chép – hoàn toàn trong trình duyệt.
Runs in your browserUpdated Apr 26, 2026
GraphQL Input
Output
Các câu hỏi thường gặp
›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.