C#•Client-Side Processing

JSON to C# Converter

Generate C# POCO classes with System.Text.Json / Newtonsoft attributes from JSON.

Developer workbench

Configure. Run. Inspect.

Types are inferred from the supplied sample. Include representative values and nulls.

⌘ / Ctrl + Enter to run
Options
67 input bytes

Output

How to Use JSON to C# Converter

01

Paste your JSON string.

02

Click 'Generate C#'.

03

Copy the POCO class into your .NET solution.

Frequently Asked Questions

Does it include getters and setters?

Yes, standard public properties with { get; set; } are generated.

Related Developer Tools

Explore more free client-side developer utilities in this category

View All Tools