JSON to YAML Converter

name: rangdom
version: 1.0.0
private: true
scripts:
  build: next build
  test: vitest
keywords:
  - random
  - generator
  - tools
Converted locally in your browser. Your JSON stays only on this page.

Turn JSON into YAML

Paste any JSON value — an object, array, or single scalar — and get equivalent block-style YAML with 2-space indentation, ready for Kubernetes manifests, GitHub Actions workflows, or docker-compose files. Nested objects and arrays become indented mappings and sequences, empty collections render as {} and [], and scalars are quoted only when needed — for empty strings, surrounding whitespace, values that would otherwise read as a number, boolean, or null, or strings carrying YAML indicator characters.