Paste a JSON sample and get C# records (or classes with properties): string, long, double, bool, List<T>, nested types, nullable types for fields that are null or missing in some records, and [JsonPropertyName] on every member so the original keys round-trip with System.Text.Json.
Deserialize with JsonSerializer.Deserialize<Root>(json). It runs entirely in your browser.
Need a different language? See all JSON-to-code converters.
Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.