Paste CREATE TABLE SQL, or a CSV/JSON sample — get a GraphQL type definition with primary keys mapped to ID, nullable columns left optional, and names converted to camelCase.
# Output will appear here.
Scaffolding a GraphQL API from an existing relational schema usually means writing every
type by hand. Paste your CREATE TABLE statements — or a CSV/JSON
sample if you don't have DDL yet — and this tool emits clean GraphQL type definitions ready to
drop into a schema file.
ID.Int.Float.Boolean.String.! required marker.CREATE TABLE users ( id UUID PRIMARY KEY, email VARCHAR(255) NOT NULL, full_name VARCHAR(120) );
GraphQL output:
type Users {
id: ID!
email: String!
fullName: String
}
Bootstrap a GraphQL server's schema file directly from your existing tables.
Quickly expose a relational table as a GraphQL type behind a gateway.
Have a CSV export but no schema yet? Infer types directly from the sample.
Share a draft GraphQL type with a frontend team before committing to a DB schema.
Does it generate relation fields for foreign keys? Not automatically — foreign key columns are emitted as scalar ID/Int fields; add nested relation fields by hand once both types exist.
Can I use this for a federated/Apollo schema? Yes — the output is plain SDL and can be merged into any GraphQL schema, including Apollo Federation subgraphs.
Is my input stored anywhere? No — it's parsed in-memory for the single request and discarded.