Generate Dart classes with fromJson/toJson from a JSON object instantly in your browser. Powered by quicktype-core. UML class diagram view. 100% client-side.
The JSON to Dart converter uses `quicktype-core` with `just-types: true` to generate Dart class definitions with typed fields and factory constructors. A post-processing step removes extraneous helpers, keeping the class fields and `fromJson`/`toJson` methods. Output is prettified with js-beautify. The UML class diagram panel shows the inferred class hierarchy.
QDoes the output support null safety?
Yes — nullable fields use the T? syntax introduced in Dart 2.12 (null safety).
QIs my data sent to a server?
No. quicktype-core runs in a Web Worker inside your browser.