JSON to Java
Generate Java DTOs and review validation-oriented API models.
JSON Diff
Paste two JSON documents side by side to see added, removed, and modified fields organised by path. Useful for response snapshots, regression reviews, and config audits.
Running `diff` against JSON punishes whitespace changes, reordered keys, and shuffled arrays — noise that hides the actual contract change. Reviewers end up scanning through formatting to find one renamed field.
This tool parses each document and reports differences as paths like `$.user.addresses[0].city`. Key order is ignored, so only true value changes surface.
Arrays are compared by index, which is useful when order matters. For order-insensitive comparisons, sort the arrays before pasting.
For very large payloads trim to the sub-tree of interest before pasting — browsers will thank you.
Jump to other JSON2Class utilities that naturally follow this one.
Generate Java DTOs and review validation-oriented API models.
Review nullability and Kotlin data class structure quickly.
Turn API payloads into TypeScript interfaces for frontend work.
Format sample payloads before sending them back into the converter.