Generate Java classes or records from JSON. Free, private, runs in your browser.
100% private — your files and text never leave your browser. All processing happens locally on your device.
JSON to Java turns sample JSON into classes or records with nested types, List<T> arrays, sanitized identifiers, package validation, and optional Jackson or Gson annotations.
Phase 4 emits all generated Java types in one source listing rather than packaging multiple files. Split them into separate files if your build expects one public type per file.
Reserved words and invalid keys are adjusted locally, but sample-based inference cannot know every production variant. Review Object fallbacks and list element types before using the models.
Yes. Choose classes or records depending on your project style and Java version.
You can emit Jackson @JsonProperty, Gson @SerializedName, or no annotations.
Field and class names are converted into Java-safe identifiers and reserved words are suffixed.
No. Phase 4 emits one source listing with all generated types so you can split it as needed.
No. The conversion is local and private.