Free Online JSON to C# Class Generator
Paste JSON and get C# class definitions with inferred types, nested classes, and List<T> for arrays. Choose POCO classes or C# 9+ records, PascalCase property names, and Newtonsoft.Json or System.Text.Json serialization attributes.
Set a root class name and optional namespace, then copy the generated code into your .NET project. All conversion runs in your browser — nothing is uploaded.