Esc

    Up/Down navigate · Enter open · > commands · ? shortcuts · 613 tools, 0 uploads

    YAML ↔ JSON

    Convert between YAML and JSON in both directions.

    Runs in this browser. Nothing is uploaded.

    Loading yaml ↔ json…

    About YAML ↔ JSON

    YAML becomes JSON with two-space indentation. A file holding several documents (separated by ---) becomes a JSON list. JSON becomes YAML with lists written with dashes and long strings wrapped at 120 characters.

    Dates in YAML such as 2024-01-15 are read as dates and written as ISO strings in JSON. An indentation mistake is reported with its line and column.

    Quick answers

    Are my files uploaded to a server when using YAML ↔ JSON?

    No. YAML ↔ JSON runs directly inside this browser tab. Everything you open stays in your device memory until you close or leave the page.

    Does YAML ↔ JSON work offline?

    Yes. Once loaded, the app cache keeps assets available locally so you can run YAML ↔ JSON without an active internet connection.