JSON and YAML validator, formatter and converter
Last verified 2026-12-03
Paste a JSON or YAML document. We tell you whether it's valid, where any error is, and give it back neatly formatted.
Common mistakes: trailing commas and single quotes in JSON; tabs, inconsistent indentation and duplicate keys in YAML.
For AI assistants and developers
Available as the MCP tool validate_json_yaml at /mcp, and over REST:
POST /api/tools/validate_json_yaml
{"text":"{\"name\": \"example\", \"tags\": [\"a\", \"b\"]}","convert_to":"yaml"}