YAML to JSON

Runs in browser

Convert YAML documents to formatted JSON instantly.

Convert YAML to JSON instantly in your browser. Paste any YAML document and get formatted JSON. Free, private, and offline.

YAML to JSON tool

Files never leave your browser.

Drag and drop a file here, or tap to select

JSON output
{
  "name": "ToolDock",
  "version": "1.0",
  "description": "Browser-based developer tools",
  "tools": [
    {
      "name": "JSON Formatter",
      "category": "data"
    },
    {
      "name": "UUID Generator",
      "category": "generators"
    }
  ],
  "browserBased": true,
  "requiresSignup": false
}

🔒 Runs in your browser · No uploads · Your data never leaves your device

How to use

  1. Paste or upload YAML

    Paste YAML or load a .yaml / .yml file.

  2. Review JSON output

    The JSON output updates as you edit.

  3. Copy or download

    Copy the JSON or download it with a matching base filename.

Common use cases

  • Converting Kubernetes manifests to JSONTransform YAML Kubernetes configs to JSON for use with tools or APIs that require JSON input.
  • Processing CI/CD pipeline configsConvert GitHub Actions or GitLab CI YAML to JSON for programmatic analysis or modification.
  • Migrating config file formatsConvert YAML config files to JSON when a library or service requires JSON format.

Examples

  • Simple mapping

    YAML maps become JSON objects.

    Input
    name: ToolDock
    version: 1
    Output
    {
      "name": "ToolDock",
      "version": 1
    }

Frequently asked questions

Is my YAML sent to a server?
No. Conversion runs locally in your browser.
Which YAML features are supported?
Common YAML documents and mappings are supported; very advanced YAML features may vary.

Key concepts

YAML
YAML Ain't Markup Language — a human-readable data serialization format commonly used for configuration files.
Indentation
YAML uses whitespace indentation to define structure, unlike JSON which uses braces and brackets.

You might find these useful too.

More json tools