# JSON to YAML

> Turn JSON values into YAML.

[Open tool](https://www.toolcabana.com/su/json-to-yaml) · [Developer and data](https://www.toolcabana.com/su/category/developer-and-data)

Tool ID: json-to-yaml. Requested language: su. Description language: en. Complete guide translation: no; untranslated sections use English.

## Overview (en)

JSON to YAML turns a strict JSON value into YAML text using block-style mappings and dash-prefixed list items. Objects, arrays, strings, numbers, booleans and null are all carried over. The input is checked as JSON first, so syntax errors are reported with a line and column, and the result can be copied or downloaded as a file.

## Supported tasks (en)

Turn JSON values into YAML.

## Steps (en)

1. Type or paste your source, or load an example.
2. Results update automatically as you edit.
3. Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.

## Settings

No additional settings.

## Limitations (en)

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Example input

```text
{"name":"ToolCabana","count":2}
```

## Privacy and connections (en)

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

## Questions (en)

### How do I convert JSON to YAML?

Paste valid JSON into the input and run the tool. Objects become key: value mappings, arrays become lists with a leading dash, and nested structures are indented in the YAML output.

### Does JSON to YAML accept JSON with comments?

No. The input must be strict JSON, so comments, trailing commas and single quotes are reported as parsing errors before any YAML is produced.

### Can JSON to YAML keep very large integer IDs?

Integers beyond the exact safe range of 9,007,199,254,740,991 are rejected rather than rounded. Put such IDs in quotes in the JSON so they convert as strings.

### Where is my input processed?

This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.

### What are the input limits?

Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.

## Related tools

- [YAML to JSON](https://www.toolcabana.com/su/yaml-to-json)
- [CSV to JSON](https://www.toolcabana.com/su/csv-to-json)
- [JSON to CSV](https://www.toolcabana.com/su/json-to-csv)
- [XML to JSON](https://www.toolcabana.com/su/xml-to-json)
