YAML to TOML Converter

Move a config file from YAML to TOML. Nested mappings become dotted keys such as service.name, and anchors and merge keys are expanded because TOML has no references.

Example

Input
# Service config
service:
  name: api
  replicas: 3
  ports:
    - 8080
    - 8443
defaults: &defaults
  timeout: 30
  retries: 2
production:
  <<: *defaults
  timeout: 60
Output
service.name = 'api'
service.replicas = 3
service.ports = [
	8080,
	8443,
]
defaults.timeout = 30
defaults.retries = 2
production.timeout = 60
production.retries = 2

What changes in this conversion

ParseBox shows this note under the output, so nothing is lost without a warning.

  • comments not kept
  • anchors, aliases and merge keys expanded

Private by design

ParseBox runs entirely in your browser. Your text is never uploaded, logged or stored on a server, so it is safe to paste API responses, tokens and config files.

Related conversions

All 30 formats in ParseBox →