JSON to Swift Codable Converter
Turn JSON into Swift structs that conform to Codable.
JSON input
Swift Codable models
About the JSON to Swift Codable Converter
Paste an API response and get idiomatic Swift models: nested structs or classes conforming to Codable, camelCase properties with CodingKeys for snake_case JSON keys, optionals for null values and typed arrays. Everything is generated locally in your browser, so private payloads never leave your machine.
Examples
Snake case key
{"full_name":"Ada"}Output
let fullName: String + CodingKeysKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
iOS .strings ↔ JSON Converter
Converters
Convert Localizable.strings files to JSON and back.
Plist ↔ JSON Converter (Info.plist)
Converters
Convert Apple property lists to JSON and back.
Android strings.xml ↔ JSON Converter
Converters
Convert Android string resources to JSON and back.
Csv To Json
Converters
Convert between CSV and JSON with delimiter and header options.
Csv To Markdown Table
Converters
Convert CSV into a Markdown or HTML table with alignment options.
CSV to SQL INSERT
Converters
Generate SQL INSERT statements from CSV data.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-23 · Runs entirely in your browser