JSON to YAML Converter
Paste JSON and get readable YAML, for a config file, a Kubernetes manifest or documentation.
Runs in your browser · No uploads
Convert JSON to YAML
Your browser is too old to run this tool. Please update it, or use a current version of Chrome, Edge, Firefox or Safari.
- Nothing leaves your device
- No server-imposed size limits
- No sign-up, no watermark
- Free
How to convert JSON to YAML
- Paste your JSON, open a file, or try the example.
- Choose the indentation and whether to sort keys.
- Copy or download the YAML.
Good to know
- Invalid JSON is reported with its line and column.
- Text that YAML would read differently (like "true", "1.0" or "null" as text) is quoted, so the data stays the same.
- To go from YAML to JSON, use the YAML to JSON Converter.
Frequently asked questions
Is my data uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.
Related tools
-
Convert YAML and JSON
Turn YAML into JSON and JSON into YAML, multi-document files included. -
Format and check YAML
Re-indent and check YAML with exact error lines, keeping its comments. -
Format JSON
Beautify or minify JSON. -
Make TypeScript, Go or a schema from JSON
Generate TypeScript interfaces, Go structs or a JSON Schema from example JSON.