Json2POJOJson2POJO

IntelliJ IDEA: JSON to POJO Generation

Learn how to generate Java POJOs directly in IntelliJ using plugins, and compare it to online converters for speed and flexibility.

Top IntelliJ JSON to POJO Plugins

RoboPOJOGenerator

The most popular plugin with 500k+ downloads.

  • Lombok support
  • Jackson/Gson annotations
  • Nested class generation

JSON To Kotlin Class

Best for Kotlin/Android development.

  • Kotlin data classes
  • Moshi/kotlinx.serialization
  • Null safety handling

How to Install & Use RoboPOJO

  1. Open Plugin Marketplace: File → Settings → Plugins → Marketplace
  2. Search: Type "RoboPOJOGenerator" and click Install
  3. Restart IntelliJ (required after plugin installation)
  4. Generate: Right-click package → New → Generate POJOs from JSON
  5. Paste JSON and configure options (root class name, Lombok, etc.)

IntelliJ Plugin vs Online Converter

FeatureIntelliJ PluginJson2POJO (Online)
InstallationRequires restartNone (instant)
UpdatesManual + restartAlways latest
Java RecordsLimited/None✓ Supported
Lombok✓ Supported✓ Supported
PrivacyLocalClient-side only

Verdict: Use the online converter for quick, one-off conversions. Use plugins if you prefer staying in the IDE and don't mind occasional restarts.

Common Issues

Plugin not showing after install?

Make sure to restart IntelliJ. Some plugins require a full restart, not just a reload.

"Generate POJO" option missing?

Right-click on a package, not a file. The option only appears in the package context menu.

Invalid JSON error?

Use our JSON Validator to find and fix syntax errors first.

Missing Lombok getters/setters?

Enable Lombok annotation processing in IntelliJ: Settings → Build → Compiler → Annotation Processors.

Skip the Plugin Installation

Convert JSON to POJO instantly in your browser. No install, no restart, no waiting.

Try the Online Converter