Skip to content
Developer & CodeLocal · Stays on device

YAML to JSON Converter

Convert YAML to JSON and JSON to YAML, including multi-document YAML files.

  • YAML 1.2, JSON
  • Free to use
  • No sign-up or watermark
yaml-to-jsonOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10

About this tool

Converts in both directions with the js-yaml parser. Multi-document YAML (separated by ---) becomes a JSON array. YAML syntax errors are reported with their line and column, and JSON errors include a fix hint. Use Swap to convert the output back the other way.

This page is also the catalogue’s JSON to YAML Converter: open it with ?mode=json2yaml (or pick JSON → YAML) to turn JSON objects into readable YAML with 2- or 4-space indentation. Everything runs in your browser. Your data is never uploaded, logged or stored.

  1. Input

    Your code or text

    YAML 1.2, JSON

  2. Processing

    Processed in this browser

    In-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelinejs-yaml

How to use it

  1. 1

    Choose the direction (YAML → JSON or JSON → YAML).

  2. 2

    Paste YAML or JSON.

  3. 3

    Copy or download the converted output.

Zero-upload architecture

How to use YAML to JSON Converter for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open YAML to JSON Converter

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Paste YAML or JSON.

  3. 3

    Get your result

    Copy or download the converted output.

  • Local

    YAML Validator

    Validate YAML syntax with exact line and column errors, duplicate-key detection and multi-document support.

    Open tool
  • Local

    JSON Formatter

    Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.

    Open tool
  • Local

    JSON Validator

    Check whether JSON is valid and see exactly where and why it fails, with fix suggestions.

    Open tool
  • Local

    CSV to JSON

    Convert CSV or Excel-exported data to JSON objects or arrays, with automatic type detection.

    Open tool