YAMLTools logo

Frequently asked questions

Answers about YAMLTools.DEV — the product, pricing, privacy, the API — and a full YAML language reference below. Everything a developer might search for in one place.

About YAMLTools

Questions about the product itself — what's free, what's Pro, how the badge works, your data.

About YAML

Full YAML language reference — syntax, data types, multi-document files, anchors, best practices and comparisons with JSON, XML and TOML.

YAML vs JSON Comparison

Compare the same data structure in YAML and JSON formats to see the differences in syntax and readability.

# Ejemplo de configuración en YAML
service:
  name: mi-aplicacion
  version: 1.0.0
  environment: production
  features:
    - autenticacion
    - api
    - cache
  database:
    host: localhost
    port: 5432
    credentials:
      username: admin
      password: secreto
  scaling:
    min_instances: 2
    max_instances: 10
  # Usando anclas y alias YAML
  default_labels: &default
    environment: production
    managed_by: devops

  labels:
    <<: *default  # Reutilizando las etiquetas predeterminadas
    app: mi-aplicacion
    version: 1.0.0

---
# Documento múltiple - Configuración de prueba
service:
  <<: *default  # Reutilizando la configuración base
  environment: testing
  database:
    host: localhost
    port: 5432