Share GraphQL code with CodeThis
Share schemas, queries, mutations, and subscriptions with field-aware highlighting.
Paste GraphQL nowWhat you get
- GraphQL-aware syntax highlighting via CodeMirror
- Instant shareable link — no signup required
- Optional expiration (7 days, 30 days, permanent)
- Password protection for private pastes
- Works with the REST API and MCP server
- Rich markdown and MDC components alongside code
Common use cases for GraphQL pastes
- Schema definitions
- Query examples
- Fragment patterns
- Apollo / Relay docs
Example
type User {
id: ID!
name: String!
posts(first: Int = 10): [Post!]!
}
query GetUser($id: ID!) {
user(id: $id) {
name
posts(first: 5) {
title
}
}
}
Related languages
Ready to share some GraphQL?