Attribute annotations
No [JsonPropertyName] attributes are emitted.
Fix: Add them manually if you need non-default names.
header • up to 320x100 / 728x90
Convert JSON payloads to C# classes with List<T> and proper PascalCase property names
Output will appear here...
content bottom • up to 300x250
sidebar • 160x600
Last reviewed:
JSON (JavaScript Object Notation) is a lightweight, human-readable data format used almost everywhere on the web for APIs, config files, and log output.
JSON to C# Class Generator infers types from your JSON and emits idiomatic C# classes with PascalCase property names, `List<T>` for arrays, and nested classes for nested objects.
Perfect for scaffolding DTOs in ASP.NET, Unity, or any .NET project consuming JSON APIs.
{ "accountId": "A-7001", "balance": 1450.75, "features": ["wire", "ach"] }using System.Collections.Generic;
public class Account
{
public string AccountId { get; set; }
public decimal Balance { get; set; }
public List<string> Features { get; set; }
}No [JsonPropertyName] attributes are emitted.
Fix: Add them manually if you need non-default names.
C# 8+ nullable references aren't emitted by default.
Fix: Add `?` to reference types manually.
No — PascalCase properties only. Add [JsonPropertyName] manually for snake_case JSON.
Yes — each nested object becomes its own class.
Not by default — classes with auto-properties.
Yes — compiles on every recent .NET version.
No — C# classes are emitted locally in your browser from the pasted JSON.
Pair with other POJO generators and JSON tools. You can also browse the full POJO & Schema Generators category for more options.
Convert JSON payloads to Java POJOs with typed fields, getters, and setters — handles nested objects and arrays
Convert JSON payloads to Python @dataclass definitions with typing.List and Optional where appropriate
Convert JSON payloads to Go structs with json tags — handles nested types and arrays
Convert JSON payloads to Dart classes with named required constructor parameters and nullable fields
Convert JSON into TypeScript interfaces and types online with nested objects, arrays, optional fields, and copy-ready model definitions.
Validate JSON syntax and catch parse errors instantly. Paste JSON and get immediate feedback on structural issues, missing commas, and unquoted keys.
Convert JSON arrays into JSONL or NDJSON online with one object per line, copy-ready output, and safe handling of nested records for data pipelines.
Convert JSON to clean TOML online for config files, package settings, and developer tooling that prefers readable key-value documents.
Convert JSON to CSV format
Convert JSON to Excel format
Collapse formatted JSON into a single compact line — great for config files and env vars
Convert JSON to SQL INSERT statements