Swift, Kotlin & TypeScript Model Generator
Paste JSON, an iOS NSLog dictionary dump or an Android log print — get type-safe model code for Swift, Kotlin, TypeScript, Dart, Java or Python. All local — your data never leaves the browser.
Input — JSON / NSLog / Logcat
Output
Specs
- Supported formats
- Input: JSON object/array · Output: TypeScript interfaces, Go structs, Python dataclasses, Rust, Java & Swift types
- File & batch limits
- Instant generation for nested JSON schemas up to several MB in browser memory
- AI model download
- None (0 MB — pure client-side AST generator)
- Browsers & devices
- Chrome, Edge, Safari & Firefox on desktop and mobile
- Offline support
- Yes — works 100% offline once loaded
FAQ
What input formats are supported?
Strict JSON, plus the debug-print formats developers actually paste: iOS NSLog dictionaries (key = value; with (...) arrays) and Android/Java toString() maps (key=value, key2={...}). The parser auto-detects and normalizes them, and tells you which format it used.
Is my data uploaded to a server?
No. Parsing and code generation are pure JavaScript running in your browser — API responses, tokens and user data stay on your device.
How are types inferred?
Nulls become optional, whole numbers become Int/Long/int, decimals become Double/double/float, and array elements are merged — a key missing in some elements becomes an optional field. snake_case keys are converted to camelCase with the right mapping (Swift CodingKeys, Gson @SerializedName, and so on).
Which languages can it generate?
Six: Swift Codable structs, Kotlin data classes with Gson annotations, TypeScript interfaces, Dart classes with fromJson/toJson, Java POJOs with getters/setters, and Python dataclasses.