跳到正文

Convert YAML to JSON

Convert YAML (.yaml) files directly to JSON (.json) inside your browser, with no upload.

Open YAML → JSON batch workspace

Open in the workspace tab for batch processing and additional options.

Drag & drop any supported file

or click to choose

Images (JPG, PNG, WebP, HEIC, AVIF, GIF, SVG, BMP, ICO), documents (PDF, DOCX, MD, HTML, TXT, RTF), data (XLSX, CSV, TSV, JSON, YAML, XML), audio (MP3, WAV, M4A, FLAC, OGG, Opus, AIFF) and video (MP4, MOV, WebM and more)

Suggested destinations (ranked)
YAML → JSON

Your file is never uploaded. All conversion happens inside your browser.

From—
To—

Why these settings

YAML (.yaml) is a human-readable indentation-based YAML configuration file. This page converts it to JSON inside your browser; the file is never uploaded.

Hand a YAML config to a tool or API that only reads JSON.

The YAML is parsed into JSON with the same structure. Comments cannot exist in JSON and are dropped; anchors (&) and aliases (*) are expanded.

Some YAML parsers read yes/no or on/off as booleans; quote them if you mean text.

AttributeSource (YAML)Target (JSON)
Extension.yaml.json
CompressionLossless / structuredLossless / structured
Animation / motionStatic / singleStatic / single
Server uploadNone (100% browser memory, offline-verifiable)

Common questions

Is my file uploaded when converting YAML to JSON?
No. Reading and writing both happen in your browser. You can check by going offline after the page loads; the conversion still works.

Related purposes