logo
Input Editor
Loading editor...
Workspace
Loading editor...
// Generated Dart code will appear here...
settings
Syncing with source in real-time

Generate Dart model classes from JSON data with json_serializable and Freezed support.

Features

  • Generate Dart classes from JSON
  • json_serializable and Freezed support
  • fromJson and toJson method generation
  • Nullable type handling
  • Nested model generation
  • Copy generated code to clipboard

How to Use

  1. Paste your JSONEnter a sample JSON object.
  2. Select styleChoose plain Dart, json_serializable, or Freezed.
  3. Copy Dart codeGet Flutter-ready model classes.

FAQ

What serialization options are available?

Plain Dart, json_serializable (@JsonSerializable), or Freezed (@freezed) models.

Does it support Flutter?

Yes. Works with Flutter, Dio, http package, and any Dart project.

Related Tools