# Da JSON a YAML

> Trasforma i valori JSON in YAML.

[Open tool](https://www.toolcabana.com/it/json-to-yaml) · [Sviluppo e dati](https://www.toolcabana.com/it/category/developer-and-data)

Tool ID: json-to-yaml. Requested language: it. Description language: it. Complete guide translation: yes.

## 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 (it)

Trasforma i valori JSON in YAML.

## Steps (it)

1. Digita o incolla il testo di origine, oppure carica un esempio.
2. I risultati si aggiornano automaticamente durante la modifica.
3. Esamina e copia o scarica il risultato. Metti in pausa i risultati in tempo reale per eseguire manualmente. Origini o singole impostazioni superiori a 20.000 caratteri richiedono un'esecuzione esplicita.

## Settings

No additional settings.

## Limitations (it)

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Example input

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

## Privacy and connections (it)

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

## Questions (it)

### 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.

### Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

### Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Related tools

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