Skip to content

Convert

JSON to Kotlin

Generate Kotlin data classes from JSON. Nullable types inferred, ready for kotlinx.serialization or Moshi.

Kotlin types
data class Profile(
    val email: String,
    val verified: Boolean
)

data class Root(
    val id: Long,
    val name: String,
    val roles: List<String>,
    val profile: Profile
)

Why use our JSON to Kotlin?

100% private

Everything runs in your browser. Your data never leaves your device β€” safe for production payloads.

Instant results

No round trips, no rate limits, no login. Format, validate and inspect megabytes of JSON in milliseconds.

Standards-first

Follows RFC 8259 / ECMA-404 exactly. Reports errors with precise line and column diagnostics.

Related reading

Deep-dive guides that pair well with the JSON to Kotlin.