YAML to sorted JSON

All workflow recipes

JSON & Data

Ideal for comparing configuration files or producing stable JSON output from human-authored YAML.

Transformation steps

  1. 1YAML → JSON
  2. 2Sort JSON keys

Example input

version: 2
name: PlainUtils
features:
  - local
  - fast

Expected output

{
  "features": [
    "local",
    "fast"
  ],
  "name": "PlainUtils",
  "version": 2
}

Local and private: this recipe runs entirely in your browser. Opening it transfers the example input through local storage on this device; copied recipe links contain the workflow definition only.

Related recipes