JSON to Python Class
Turn JSON into Python Pydantic v2 models or dataclasses, with nested classes, aliases for odd keys and Optional fields inferred for you.
Runs in your browser · files never uploaded 100% free
Related tools
JSON to Java ClassGenerate Java classes or records from JSON, with nested types, lists and Jackson annotations only where keys need them. Copy or download.JSON to C# ClassConvert JSON to C# classes for System.Text.Json with JsonPropertyName attributes, nested classes, lists and nullable types inferred.JSON to KotlinGenerate Kotlin data classes from JSON for kotlinx.serialization, with SerialName for odd keys, nested classes and nullable fields inferred.JSON to DartConvert JSON to Dart classes for Flutter with fromJson and toJson methods, nested models and null safety. No code generation step needed.JSON to RustGenerate Rust structs from JSON with serde derives, rename attributes for odd keys and Option types for nullable or missing fields.Hex to TextDecode hex to readable text (UTF-8) or encode text to hex. Accepts spaces, commas, 0x prefixes or one long hex string, with a byte breakdown.