JSON to C# Model Generator
Convert JSON into C# model classes with proper naming conventions and type mapping
The name for the main class
The namespace for generated classes
Paste your JSON here
Supports nested objects, arrays, and complex JSON structures
Smart Naming
Automatically converts JSON keys to Pascal case with proper C# naming conventions.
Nested Objects
Handles complex nested objects and creates separate classes for each structure.
Array Support
Detects arrays and generates List<T> properties with proper type inference.
Type Detection
Intelligently detects types including DateTime, int, double, bool, and more.