Skip to main content
DevTools24

Convertidor Properties/YAML

Convierte entre archivos Java .properties y formato YAML para Spring Boot y otras plataformas.

Format Notes:
  • Properties: key=value or key:value format, dotted keys for nesting
  • YAML: Indentation-based hierarchy, human-readable
  • • Comments start with # in both formats

Properties vs YAML - Detalles técnicos

Los archivos Java .properties usan claves punteadas (server.port=8080), mientras YAML usa jerarquía indentada. YAML es más legible para configs complejas pero properties son más simples para configs planas.

Alternativa de línea de comandos

# Properties\nserver.port=8080\nserver.host=localhost\n\n# YAML equivalent\nserver:\n  port: 8080\n  host: localhost