A manifest into an API call
A deployment file written as YAML becomes the JSON body an API expects, with a multi-document file arriving as an array rather than failing to parse.
Converts between YAML and JSON in this tab. The parser is fetched only when you convert, so the page stays light until you use it.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsConvert YAML configuration into JSON for an API payload, validation step or application that expects JSON syntax. YAML comments, anchors and presentation choices do not all have direct equivalents in JSON, so the useful check is the parsed data rather than whether the formatting looks similar. The browser parses the input locally and shows errors before you use the output. Multi-document YAML is represented as a JSON array; check whether your destination expects that array or a single object. The reverse direction remains available for a round-trip check, while the separate JSON-to-YAML page explains authoring a maintainable YAML configuration.
A deployment file written as YAML becomes the JSON body an API expects, with a multi-document file arriving as an array rather than failing to parse.
JSON returned by a service becomes YAML that is comfortable to edit by hand and to review in a pull request.
Converting to JSON shows exactly how the parser understood your file. A version number that arrives as a number rather than a string is immediately visible.
Convert one way, switch direction, and convert back. Anything that changed is something the formats disagree about, which is what you want to find before deploying.
Because this follows YAML 1.2, where only true and false are booleans. YAML 1.1 coerced yes, no, on and off, which caused real bugs. If you need a boolean, write true or false.
They are lost. JSON cannot represent comments, so they cannot survive the conversion and cannot be restored by converting back. Keep the original if the comments matter.
Yes. Documents separated by three dashes are all parsed and returned as a JSON array, with a note stating how many were found.
Repeated objects are written out in full deliberately. Anchors and aliases are compact but hard to read, and most people converting to YAML want something they can review and edit.
Format, minify, and validate JSON locally in your browser. Inspect keys, values, nesting depth, and root type without sending private API data to a server.
Convert JSON objects to UTF-8 CSV in your browser. Union columns, quote values, and protect formula-like strings.
Convert CSV to a JSON array locally. Parse quoted commas, embedded newlines, BOM files, duplicate headers, sparse rows, and optional safe value types.
Convert JSON into clean, readable YAML in your browser. Useful for Kubernetes manifests, CI pipelines and application config.
Turn an INI configuration file into JSON in your browser. Sections become nested objects and values stay strings.
Turn a .env file into JSON in your browser. Handles export prefixes, quotes and inline comments.