Convertor

Text tool

JSON ↔ YAML converter

Convert between JSON and YAML in both directions — configs, Kubernetes manifests, CI pipelines.

Runs in your browser
No files needed100% local · no upload

Guide

How to convert json ↔ yaml converter

  1. Pick a direction

    JSON → YAML for config files, or YAML → JSON for APIs and tooling.

  2. Paste your document

    Paste JSON or YAML into the editor — errors are reported with line numbers.

  3. Copy the result

    The converted document appears below, ready to paste into your repo or pipeline.

Frequently asked questions

What is YAML used for?

YAML is the human-friendly format behind Kubernetes manifests, GitHub Actions, Docker Compose, Ansible and many CI configs.

Will comments survive?

No — both directions parse into plain data, so YAML comments are dropped. Keep the original file for comments.

Is my config uploaded?

No — conversion is a pure local transformation. Nothing leaves your machine, which matters for configs that carry keys.

What if YAML has multiple documents?

Only the first document is converted; split multi-document files with --- first.

Keep converting

View all →