Pure ToolsPure Tools
ToolsSitemapGitHubReport Issue中文

© 2026 Pure Tools. Crafted with precision.

Privacy

Free Online Go Map <-> JSON Converter - ATools

Free online Go map <-> JSON converter. Convert Go map fmt output to JSON and convert JSON back to Go map. Runs locally in your browser.

Edit this tool
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.