JSON to Swift Codable Converter
Turn JSON into Swift structs that conform to Codable.
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.
Popular uses
- json to swift
- swift codable
- ios model generator
- swift struct
- codingkeys
- ios
Examples
Snake case key
JSON{"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.
Works well with
Next steps from other categories.
Apple App Site Association Generator
Generators
Build the AASA file that powers iOS universal links.
Hex to SwiftUI & UIColor Converter
Color
Turn a hex color into SwiftUI, UIKit and asset catalog code.
iOS Device Screen Sizes Reference
Dev Utilities
Points, pixels, scale factors and App Store screenshot sizes for iPhone, iPad and Apple Watch.
iOS Privacy Manifest Generator
Generators
Build Apple's PrivacyInfo.xcprivacy file for App Store submission.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-23 · Runs entirely in your browser