Convertidor JSON a YAML

Genera YAML limpio e idiomático desde cualquier JSON.

Entrada JSON

Detalles del nodo

Selecciona un nodo para ver detalles

Características clave

Smart Quoting

Strings that look like booleans, numbers, reserved words or contain : and # are automatically quoted for safety.

Compact List Style

Arrays of objects use the standard compact K8s style — first key on the dash line, siblings aligned below.

Configurable Indent

Switch between 2-space and 4-space indentation and optionally force quoting of every string.

Round-trip Safe

Output parses back to the identical JSON structure with our built-in yamlToJson parser.

Cómo usar Convertidor JSON a YAML

1

Paste JSON

Insert any JSON config, manifest or API payload into the input panel.

2

Adjust Options

Pick indent width and quoting mode; the YAML preview updates live.

3

Copy or Download

Grab the YAML for docker-compose.yml, values.yaml or any config file.

Comparación de Arquitectura Técnica y Privacidad

Cómo se compara formatjson.net frente a los formateadores JSON tradicionales basados en servidor

Ejecución 100% Local Cero Subidas al Servidor Estándar RFC 8259 y RFC 4180 Enteros de 64 Bits Seguros JSON Schema 2020-12 PWA Sin Conexión
Capacidad / Estándar formatjson.net (100% en el Navegador) Herramientas Tradicionales con Servidor
Procesamiento y Privacidad 100% local en JavaScript del navegador — tus datos nunca salen de tu dispositivo Suelen subir JSON/XML/CSV a servidores remotos
Claves API, JWT y Datos Sensibles Seguro por diseño — cero transmisión de red, funciona sin conexión vía Service Worker Riesgo de registros en servidores o retención de datos
Reparación de JSON Roto o Truncado por IA Máquina de estados léxica que repara comentarios, comillas simples, comas finales y llaves sin cerrar en 1 clic Falla con error de sintaxis ante JSON no estricto
IDs Snowflake de 64 Bits y Ceros Iniciales Preserva enteros mayores a 2^53 - 1 y códigos como "00123" sin pérdida de precisión Trunca enteros de 64 bits o elimina ceros a la izquierda
Exploración de Arrays Anidados en Tabla Desglose interactivo ([n items] →) con migas de pan, ordenación por columna y edición en línea Tablas planas solo de raíz o árboles de solo lectura
Rendimiento con Archivos Grandes Árbol perezoso por bloques (200 nodos) + tabla paginada + protección de resaltado >150 KB Bloqueo del navegador con archivos de varios megabytes

Preguntas frecuentes

Which YAML version is produced? ▾

The emitter targets the widely compatible YAML 1.2 block style accepted by Kubernetes, Compose and CI systems.

How are special strings handled? ▾

Reserved words (true, yes, on…), numeric-looking strings, leading zeros and strings containing ": " or " #" are double-quoted automatically.

Are empty objects/arrays supported? ▾

Yes — they render as {} and [] respectively.

Can I edit before converting? ▾

Yes — the Tree and Table editors update the YAML output in real time.

Is it private? ▾

Everything runs locally; nothing is uploaded.