# YAML-zu-JSON-Konverter

> Lies YAML ein und exportiere JSON.

[Open tool](https://www.toolcabana.com/de/yaml-to-json) · [Entwicklung und Daten](https://www.toolcabana.com/de/category/developer-and-data)

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

## Overview (en)

YAML to JSON converts a single YAML document into JSON formatted with 2-space indentation. Parsing follows the YAML 1.2 core schema, so values such as yes stay strings. Duplicate keys and syntax problems are reported as errors, and alias expansion is capped at 100 to protect against alias bombs.

## Supported tasks (de)

Lies YAML ein und exportiere JSON.

## Steps (de)

1. Gib deine Quelle ein, füge sie ein oder lade ein Beispiel.
2. Die Ergebnisse werden beim Bearbeiten automatisch aktualisiert.
3. Prüfe dein Ergebnis und kopiere es oder lade es herunter. Pausiere Live-Ergebnisse, um manuell auszuführen. Quellen oder einzelne Einstellungen über 20.000 Zeichen erfordern eine explizite Ausführung.

## Settings

No additional settings.

## Limitations (de)

Textvorgänge akzeptieren im Allgemeinen bis zu 2.000.000 Zeichen. Einzelne Parser, Generatoren und Formeln haben zusätzliche Grenzen, die in ihren Bedienelementen angezeigt werden.

## Example input

```text
name: ToolCabana
count: 2
```

## Privacy and connections (de)

Dieser Vorgang verarbeitet seine Quelle in deinem Browser. Kopieren und Herunterladen sind ausdrückliche Aktionen; die Quelleingabe wird nicht in einem Konto oder Verlauf gespeichert.

## Questions (de)

### Does YAML to JSON keep comments?

No. JSON has no comment syntax, so YAML comments are dropped and only the data values appear in the output.

### Can I convert multiple YAML documents at once?

No. The tool reads one document. Input with several documents separated by --- returns an error, so convert each document separately.

### What happens with duplicate keys in YAML?

Duplicate keys in the same mapping are treated as an error that names the line and column, instead of letting the last value silently replace the earlier one.

### Wo wird meine Eingabe verarbeitet?

Dieser Vorgang verarbeitet seine Quelle in deinem Browser. Kopieren und Herunterladen sind ausdrückliche Aktionen; die Quelleingabe wird nicht in einem Konto oder Verlauf gespeichert.

### Welche Eingabelimits gelten?

Textvorgänge akzeptieren im Allgemeinen bis zu 2.000.000 Zeichen. Einzelne Parser, Generatoren und Formeln haben zusätzliche Grenzen, die in ihren Bedienelementen angezeigt werden.

## Related tools

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