JSON, YAML & XML Tools
Convert, validate, format and generate types from JSON, YAML, XML, .env and query strings — all in your browser.
13tools in this collection
DEVNewJSON to YAMLConvert JSON to clean, readable YAML for configs, Kubernetes manifests and CI files.DEVNewYAML to JSONConvert YAML (including multi-document files) to formatted JSON, with line numbers on syntax errors.DEVNewJSON ValidatorCheck whether JSON is valid and pinpoint the exact line and column of any syntax error.DEVNewSort JSON KeysSort JSON object keys alphabetically (recursively) for clean diffs and stable output.DEVNewJSON to TypeScriptGenerate TypeScript interfaces from a JSON sample, with nested types, arrays and optional fields inferred.DEVNewJSON to Go StructGenerate Go structs with json tags from a JSON sample, including nested structs and slices.DATNewJSON to ExcelTurn a JSON array of objects into an Excel spreadsheet, with nested fields flattened into columns.DEVNewXML to JSONConvert XML to JSON — attributes become @keys and repeated elements become arrays.DEVNewXML FormatterPretty-print or minify XML and catch mismatched or unclosed tags with exact line numbers.DEVNew.env to JSONConvert a .env file to a JSON object, handling comments, quotes, export prefixes and multi-line values.DEVNewJSON to .envConvert a JSON object to .env KEY=value lines, flattening nested keys and quoting values safely.DEVNewQuery String to JSONParse a URL or query string into JSON, decoding values and grouping repeated keys into arrays.DEVNewJSON to Query StringBuild a URL-encoded query string from a JSON object, with arrays and nested objects supported.
Try it right here
Start with JSON to YAML here, or switch format inside the workspace.
Paste or drop
Paste text below, or drop a file instead.
…or drop a file
Drag and drop, or choose files
JSONTXT
Choose an output
Convert JSON to clean, readable YAML for configs, Kubernetes manifests and CI files.