data utility

YAML ↔ JSON Converter

Convert YAML to JSON or JSON to YAML locally with safe parsing and explicit errors.

Convert YAML and JSON

Convert YAML to JSON or JSON to YAML locally with safe parsing and explicit errors.

How it works

Convert a YAML document to JSON or a JSON document to YAML in the browser. YAML is parsed with the JSON-safe schema so custom tags are not executed; errors include the parser message. Large JSON integers may lose precision when represented as YAML numbers and are flagged.

Limits

Questions

Are YAML tags executed?

No. The converter uses a JSON-compatible safe schema and does not execute custom YAML tags.

Why might a large number change?

JSON/YAML numbers are represented as JavaScript numbers when converted, so integers beyond the safe range can lose precision. The page warns when it detects large integer lexemes.

Privacy

Usage measurement is off for this tool. This page makes no analytics request. Your input is not sent to a server.