Free online Go map <-> JSON converter. Convert Go map fmt output (e.g. map[string]interface {}{...}) into pretty JSON for debugging, and convert JSON back to a Go map-style representation for quick copy/paste. Supports nested maps, slices/arrays, strings, numbers, booleans, and null. Everything runs locally in your browser with zero uploads for privacy and speed.
Examples:
Go map input
JSON output
Tip: Accepts common Go map print formats such as map[string]interface {}{"key":"value"} or map[1:"one",2:"two"}. For nested structures, make sure the format is valid.