Description:
Generate types and converters from JSON, Schema, and GraphQL
|
|
Type: Formula
|
Latest Version: 23.2.6@0
|
Tracked Since: Dec 24, 2025
|
|
Links:
Homepage |
GitHub |
Docs |
formulae.brew.sh
|
|
Stars: 13,527 |
Forks: 1,164 |
Language: TypeScript |
Category: Developer tools
|
|
Tags:
code-generation
types
json
schema
developer-tool
|
|
Install:
brew install quicktype
|
About:
quicktype is a command-line tool and library that automatically generates strongly-typed code and serialization/deserialization converters from JSON, JSON Schema, GraphQL schemas, and TypeScript interfaces. It supports a wide range of target languages including TypeScript, Swift, Kotlin, C#, Go, and more, ensuring type safety and reducing boilerplate. Its main value is accelerating development by automating the creation of type definitions and data validation code from API specifications and sample data.
|
Key Features:
- Generates types and serializers for over 20 programming languages
- Infers types from JSON samples, JSON Schema, GraphQL, and TypeScript
- Command-line interface, Node.js library, and web app for ease of use
- Produces clean, idiomatic code with validation logic
- Supports customization via type annotations and transformation rules
|
Use Cases:
- Generating client SDKs and model classes from API JSON responses or OpenAPI specs
- Creating type-safe data models for mobile apps (Swift/Kotlin) from backend schemas
- Converting between different data formats (e.g., JSON to XML) with structured type definitions
|
Alternatives:
-
json-schema-to-typescript
– Focuses only on TypeScript from JSON Schema; quicktype supports more languages and input formats
-
OpenAPI Generator
– Specializes in full client/server code from OpenAPI specs; quicktype is more lightweight for pure type generation from various sources
|
| Detected |
Version |
Rev |
Change |
Commit |
| Dec 24, 2025 9:55pm |
23.2.6 |
0 |
VERSION_BUMP |
ca1450f7 |
| Nov 10, 2024 4:33pm |
|
0 |
VERSION_BUMP |
58d6c166 |
| Sep 12, 2024 12:05pm |
|
0 |
VERSION_BUMP |
047f874a |
| Aug 1, 2024 5:19pm |
|
0 |
VERSION_BUMP |
1f6fbd9b |
| Aug 1, 2024 7:41am |
|
0 |
VERSION_BUMP |
fc9514ba |
| Jul 7, 2024 11:08pm |
|
0 |
VERSION_BUMP |
d742583e |
| May 18, 2024 6:41pm |
|
0 |
VERSION_BUMP |
9b07adcd |
| May 13, 2024 4:55pm |
|
0 |
VERSION_BUMP |
378b019f |
| Apr 30, 2024 3:46am |
|
0 |
VERSION_BUMP |
494a4edd |
| Apr 17, 2024 3:45am |
|
0 |
VERSION_BUMP |
12a47894 |
| Apr 14, 2024 9:24pm |
|
0 |
VERSION_BUMP |
39105cef |
| Apr 13, 2024 9:36pm |
|
0 |
VERSION_BUMP |
213ddeff |
| Apr 13, 2024 7:11pm |
|
0 |
VERSION_BUMP |
0a5ae294 |
| Feb 14, 2024 1:16pm |
|
0 |
VERSION_BUMP |
6c63be58 |
| Feb 14, 2024 12:50pm |
|
0 |
VERSION_BUMP |
8123a23b |
| Dec 1, 2023 6:48pm |
|
0 |
VERSION_BUMP |
facf2b0a |
| Nov 30, 2023 4:20pm |
|
0 |
VERSION_BUMP |
13759ad8 |
| Nov 30, 2023 3:55pm |
|
0 |
VERSION_BUMP |
61462152 |
| Oct 22, 2023 4:26pm |
|
1 |
VERSION_BUMP |
620efe70 |
| Oct 22, 2023 4:26pm |
|
1 |
VERSION_BUMP |
344e9eae |
| Sep 27, 2023 11:29am |
|
0 |
VERSION_BUMP |
76b9edcd |
| Sep 5, 2023 12:10am |
|
0 |
VERSION_BUMP |
3a1ac8a3 |
| Aug 14, 2023 8:52pm |
|
0 |
VERSION_BUMP |
1e41ed10 |
| Aug 10, 2023 9:38pm |
|
0 |
VERSION_BUMP |
7858f421 |
| Jun 16, 2023 7:12pm |
|
0 |
VERSION_BUMP |
c4d47605 |
| May 25, 2023 6:08pm |
|
0 |
VERSION_BUMP |
abd41c2d |
| May 17, 2023 2:53pm |
|
0 |
VERSION_BUMP |
a4321968 |
| May 17, 2023 2:16pm |
|
0 |
VERSION_BUMP |
555f5e45 |
| May 17, 2023 8:50am |
|
0 |
VERSION_BUMP |
894921ca |
| Apr 23, 2023 2:42pm |
|
0 |
VERSION_BUMP |
bb0c4c28 |
|