Paste a JSON object and generate Python @dataclass, TypedDict, or plain class definitions automatically. Handles nested objects, arrays, and all Python types.
Generated Python classes make it easy to work with JSON data in a type-safe way. For TypeScript, see JSON to TypeScript.
dataclass
Input
{"name":"Alice","age":29,"active":true}Output
@dataclass
class Root:
name: str
age: int
active: boolBeautify, minify, and validate JSON with syntax highlighting.
Generate TypeScript interfaces from any JSON object automatically.
Convert Markdown to HTML instantly.
Convert HTML markup to clean Markdown syntax.
Convert CSV data into a JSON array of objects.
Flatten a JSON array of objects into a CSV spreadsheet.