YAML to JSON Converter

Paste a YAML file and get formatted JSON back. ParseBox expands anchors, aliases and merge keys, and it tells you that comments are dropped, because JSON has no comments.

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",
    "replicas": 3,
    "ports": [
      8080,
      8443
    ]
  },
  "defaults": {
    "timeout": 30,
    "retries": 2
  },
  "production": {
    "timeout": 60,
    "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 →