# quicktype

Generate types and converters from JSON, Schema, and GraphQL

Repository: https://github.com/glideapps/quicktype
Canonical: https://ross.abutalabs.com/products/quicktype
Homepage: https://app.quicktype.io
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: json, typescript, json-schema, elm, java, swift, graphql, csharp, cplusplus, golang, objective-c, rust, kotlin
Last push: 2026-08-17T18:26:08+00:00
Link (homepage): https://app.quicktype.io

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 93, longevity 100
- inputs: {"age_days": 3339, "days_push": 16, "days_rel": 44, "gap_med": 1, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13843, forks 1192 (observed 2026-08-28T04:11:04.942378+00:00)

## What it is
quicktype is a code generation tool that produces strongly-typed models and serializers from JSON samples, JSON Schema, TypeScript, and GraphQL queries. It targets many languages including TypeScript, Python, Go, Rust, Java, C#, Swift, and Kotlin, and is available as a CLI, npm library, and web app.

## Use cases
- generate typescript interfaces from
- convert  schema to rust structs
- generate swift models from a  api response
- create go structs from
- generate serializers for  in kotlin
- turn graphql queries into typed models
- generate c# classes from

## When to choose
- you need typed models and (de)serializers in one or many languages from JSON or JSON Schema
- you want to eliminate hand-written parsing boilerplate for JSON APIs
- you work across multiple languages and want consistent type definitions

## When to avoid
- you need runtime schema validation rather than code generation
- your JSON is highly dynamic and not amenable to static typing
- you need a full ORM or database mapping tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: serialization, parser, developer-tools, cli
- domain: developer-tools, apis, programming-languages, web-development
- platform: cli, cross-platform
- tags: -to-types, code-generation, -schema, graphql, type-safety, multi-language, nodejs, web

## Member repositories
- glideapps/quicktype (main) score 97
- glideapps/quicktype-xcode (plugin) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.942378+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:00.099233+00:00, confidence not recorded.
  - readme: https://github.com/glideapps/quicktype (fetched 2026-08-28T04:11:04.942378+00:00, sha 0cfc1f8abf3b)
  - homepage: https://app.quicktype.io (fetched 2026-08-29T08:07:46.457471+00:00, sha 5e8ad179da2b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
