JSON Formatter
Format JSON online: beautify messy JSON with 2 or 4 spaces or tabs, sort keys, minify it to one line and find errors. Free, runs in your browser.
Turn JSON into Go structs with json tags and omitempty, ready for encoding/json.
Runs in your browser. Your data never leaves your device.
Generate Go structs from a JSON sample. Field names become exported Go names, each field gets a json tag with the original key, and you can add omitempty. Nested objects can be inline or separate named structs.
Go only encodes and decodes exported fields, which must start with a capital letter. The json tag keeps the original key.
Format JSON online: beautify messy JSON with 2 or 4 spaces or tabs, sort keys, minify it to one line and find errors. Free, runs in your browser.
Check if JSON is valid and see the exact line and column of any error, with a hint on how to fix it. A free online JSON validator in your browser.
Paste JSON and get Kotlin data classes for Android, with kotlinx.serialization, Gson or Moshi names, nullable fields and defaults. Free, in your browser.
Convert JSON to null-safe Dart model classes for Flutter, with fromJson, toJson and an optional copyWith. Free, no sign-up, runs in your browser.