Loading editor...
Loading editor...
// Generated C# code will appear here...
settings
Generate C# classes from JSON data. Choose between System.Text.Json or Newtonsoft.Json attributes.
Features
- Generate C# classes and records from JSON
- System.Text.Json and Newtonsoft.Json support
- Nullable type handling
- Nested class generation
- Proper naming conventions (PascalCase)
- Copy generated code to clipboard
How to Use
- Paste your JSON — Enter a sample JSON object.
- Select serializer — Choose System.Text.Json or Newtonsoft.Json.
- Copy C# code — Get production-ready C# classes.
FAQ
What C# features are supported?
Classes, records, nullable types, nested classes, and attributes for System.Text.Json and Newtonsoft.Json.
Can I use this with ASP.NET?
Yes. Generated classes work with ASP.NET Core Web API, HttpClient, and Entity Framework.
