Code Converter

JSON to Dart Classes

Generate starter Dart classes from JSON samples for Flutter and Dart projects. Conversion runs in your browser with no upload required.

Dart classesFlutter modelsLocal processing

How it works

Paste JSON

Paste a sample object or API response.

Choose Dart

Select Dart Classes and set a root class name.

Use in project

Copy the starter models and adapt constructors, serialization, or nullability for your Flutter app.

Private model generation

JSON Toolkit parses your sample in the browser. Your pasted data is not uploaded to JSON Toolkit servers.

Need Dart classes from JSON?

Open the Code Converter and choose Dart Classes.