Sample JSONJSON
GeneratedJava
Paste or type JSON
JSON → record · Local · No upload
JSON to Java POJO Generator
Sample JSON → POJO / record · Jackson annotations · Nested types
No upload, no storage
JSON is processed in memory and never sent to a server.
Share via URL fragment
Share links encode data in the # anchor — never sent to a server.
Remember last edit
Optionally keep your last input locally; clear it with one click.
Generate POJO Classes|Lombok·Jackson·Gson|Java Records|Runs Locally
Generate record / POJO
Concise Java records; nested objects split into types.
Jackson Annotations
Adds @JsonProperty when a field name differs from JSON.
Boxed Nullable Types
Long/Double/Boolean express nullable values.
Compiles As-Is
Idiomatic Java output — paste in and build.
Runs Locally — No Upload
Generation runs in your browser; data is never uploaded.