Saltar al contenido
uencoder

Convertidor YAML

Convert between YAML and JSON online. Gratis, privado y 100% del lado del cliente.

Probar un ejemplo:
Local only

Historial reciente

Sin historial aún

Uso

  1. Paste YAML or JSON into the input box.
  2. Choose YAML to JSON or JSON to YAML mode.
  3. Copie o descargue el resultado.

Tareas que usan esta herramienta

Pipelines que usan esta herramienta

Preguntas frecuentes

What YAML features are supported?
Basic YAML with nested mappings, sequences, scalars (string, number, boolean, null), and quoted strings. Multi-line literals (|, >), anchors (&), and references (*) are not supported.
¿Se suben mis datos a algún lugar?
No. Toda la conversión se realiza localmente en su navegador sin round-trip al servidor.
How are YAML types inferred?
Unquoted scalars are inferred: 'true'/'false' → boolean, 'null'/'~' → null, digits → number, everything else → string. Use quotes to force string type for values like '3.14' or 'true'.
What indentation does JSON-to-YAML use?
2-space indentation, with sequences rendered in block style (- item). Flow style ([a, b]) is not used; this maximizes readability and diff-friendliness.
Can I convert Kubernetes manifests?
Yes, as long as they use only supported features. Multi-document YAML (--- separators) is not supported; convert each document separately.
Why does my YAML fail to parse?
Common causes: tabs for indentation (YAML requires spaces), missing space after colon, unsupported anchors/multi-line literals. Check the error message for the line number.

Herramientas relacionadas