About this tool
The JSON to Java POJO tool converts a pasted JSON sample into Java model classes, the way jsonschema2pojo does but instantly in your browser. It parses the JSON, infers Java types recursively, and emits one class per object: strings become String, integers int or long, other numbers double, booleans boolean, arrays List<T>, and nested objects their own PascalCase classes declared before the parents that use them.
All parsing and generation run locally with JSON.parse and plain JavaScript, so your payloads never leave the page. Fields are camelCased; when the JSON key is not already camelCase the tool adds @JsonProperty("originalKey") (Jackson) or @SerializedName("originalKey") (Gson), or nothing in plain-fields mode. Fields that can be null in any sample use the boxed wrapper types (Integer, Long, Double, Boolean) so null is representable. Jackson classes carry @JsonIgnoreProperties(ignoreUnknown = true) for forward compatibility.
The annotation-style toggle selects Jackson (default), Gson, or no annotations, and only the imports actually used are included. The accessors toggle chooses between generated getX()/setX() methods on private fields (default) or plain public fields. Copy the result or download it as a .java file to drop straight into your project.