{ }

JSON to Codable

Paste JSON and get clean Swift Codable structs. Smart type inference for URLs, dates, and UUIDs. CodingKeys generated only when needed.

JSON Input
Try an example:
Swift Output

Swift structs will appear here

Smart Type Detection

Automatically infers Date, URL, and UUID types from string values. Handles nested objects and arrays.

Clean Output

CodingKeys only when snake_case is detected. No boilerplate. Properties use proper Swift naming.

Modern Swift

Optional Sendable conformance for concurrency. Choose between Codable and Decodable. Control access levels.