DEV Community

Alex
Alex

Posted on

I built a free JSON to Java class generator (Lombok + Records + nested classes)

As a Java developer, I kept wasting time manually writing POJOs from JSON API responses.
So I spent a week building a small tool to fix that.

What it does

Paste any JSON and get a ready-to-use Java class instantly.

It supports:

  • ✅ Plain POJOs with getters and setters
  • ✅ Lombok (@data, @NoArgsConstructor, @AllArgsConstructor)
  • ✅ Java 21 Records
  • ✅ Nested objects — generates a separate class for each
  • ✅ Download as .java (single class) or .zip (multiple classes)

No login. No limits. Completely free.

Try it

👉 https://javaflow.tools

What's next

I'm thinking about adding more tools for Java/Spring developers — things like
XSD to Java, SQL to JPA entities, or OpenAPI generator.

What would actually save you time? Drop a comment, I'm all ears.

Top comments (0)