JSON to C# Class Converter
Generate strongly-typed C# POCO classes with JsonPropertyName attributes.
Initializing Data Studio Workspace...
Code Generator
JSON to C# POCO Class Code Generator Guide
Generate C# POCO classes for .NET Core and System.Text.Json deserialization directly from sample JSON payloads.
- 01
System.Text.Json Attributes
Includes `[JsonPropertyName("key")]` attributes on C# auto-properties.
Frequently Asked Questions
Answers about this tool.
Is the generated C# code compatible with .NET 6 / 7 / 8?
Yes. The generated POCO classes follow modern .NET C# conventions with `System.Text.Json` property attributes.
Related tools
JSON to Rust Structs
Generate Rust struct models with Serde Serialize and Deserialize derive macros.
Open toolJSON to Markdown Table
Convert an array of JSON objects into a GitHub Flavored Markdown table.
Open toolMarkdown Table to JSON
Turn a Markdown table into a JSON array with one object per row.
Open toolJSON to CSV Converter
Convert nested JSON objects and arrays into CSV, with dot-notation column headers for nested fields.
Open toolJSON to XML Converter
Convert JSON data into a well-formed XML document, one element per property.
Open toolAll Data Studio tools
Convert between 27 data formats in either direction, filter and reshape records, run simple JSONPath queries, generate JSON Schema, and create TypeScript, Go, C#, or Rust types. It all runs in your browser.
Open tool