Report

Help us improve this tool

GraphQL To Flow Converter

Generate Flow type definitions from GraphQL schema and operation documents instantly in your browser.

O M T

Convert GraphQL Schema to Flow Types

Flow projects that consume GraphQL APIs need typed definitions matching the server schema and client operations. Maintaining these types manually falls out of sync whenever fields change. This converter generates Flow types from GraphQL SDL and operation documents automatically.

What this tool does

Paste your GraphQL schema and optional query or mutation documents. The tool emits Flow type definitions including scalars, object types, input types, and operation result types. Edit either input and the output refreshes instantly.

Related tools

Need React Apollo or urql components instead of raw Flow types? Use the GraphQL to Components Generator. To prettify GraphQL before conversion, try the GraphQL Beautifier.

Frequently Asked Questions

What Flow syntax does the output use?

Generated files include the // @flow pragma and use Flow object types with $ElementType scalar mappings, matching common GraphQL Code Generator Flow plugin output.

Can I convert schema only without operations?

Yes. Leave the document field empty to generate schema-level Flow types. Add queries or mutations when you need operation-specific variable and result types.

Does this work with multiple operations in one document?

Yes. Include several named operations in the document editor and the generator produces Flow types for each operation alongside shared schema types.

Is my GraphQL schema uploaded anywhere?

No. Parsing and codegen run entirely in your browser. Schema and operation text never leave your machine.