YAML을 JSON으로, JSON을 YAML로 양방향 변환합니다. 변환 중 유효성을 검사하고 명확한 오류 메시지를 표시합니다. 모든 작업이 브라우저에서 실행됩니다.
YAML ⇄ JSON 사용 방법
방향을 선택하세요: YAML to JSON 또는 JSON to YAML.
YAML 또는 JSON을 입력 패널에 붙여넣으세요.
변환된 결과를 복사하거나 입력이 잘못된 경우 오류 메시지를 확인하세요.
This converter transforms YAML into JSON and JSON into YAML, in both directions. Pick the direction, paste your input, and copy the converted result or read a clear error if the input is malformed.
Everything is processed locally in your browser, so your data stays on your device.
YAML and JSON describe the same kind of data, but with different priorities. JSON is strict and compact, which suits APIs and machines; YAML is indentation-based and easier for people to read and edit, which is why it dominates configuration files.
Each conversion parses the source first, so malformed input is caught and reported with the reason and often the line, instead of silently producing a broken result. A successful conversion therefore also tells you the input was valid.
It uses the YAML 1.2 and 1.1 compatible parser from js-yaml, covering the features you meet in practice: mappings, sequences, scalars, anchors and multi-line strings.
This is exactly the glue you need around CI pipelines, Kubernetes and Docker Compose files, and APIs that speak JSON while your config is written in YAML. It lets you move between the two without hand-editing.
One thing to know: YAML comments are dropped, because JSON has no concept of comments, and converting back generates fresh YAML without them.
자주 묻는 질문
js-yaml의 YAML 1.2/1.1 호환 파서를 사용하며, 매핑, 시퀀스, 스칼라, 앵커, 여러 줄 문자열 등 일반적인 기능을 지원합니다.
변환 전에 입력을 파싱하므로 잘못된 YAML 또는 JSON의 경우 원인과 종종 줄 번호를 포함한 메시지가 표시되어 문제를 빠르게 찾을 수 있습니다.
아니요. YAML 주석은 변환 시 제거됩니다. JSON에는 주석이 없고 역방향 변환 시 새 YAML이 주석 없이 생성됩니다.
아니요. 변환은 브라우저에서 전적으로 실행되며 붙여넣은 내용이 기기 밖으로 나가지 않습니다.
이 도구 임베드하기
이 도구를 직접 운영하는 웹사이트에 추가하세요. 아래 코드를 복사하면 자동으로 최신 상태로 유지됩니다.
<iframe src="https://monu.tools/embed/ko/yaml-json-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>관련 도구
잘못된 입력에 대한 명확한 오류 메시지와 함께 온라인에서 JSON을 포맷하고 보기 좋게 정리하며 유효성을 검사합니다.
브라우저에서 JSON을 압축하고 유효성을 검사하여 절약된 바이트 수를 확인합니다.
JSON을 CSV로, CSV를 JSON으로 양방향 변환합니다. 구분자 선택, 따옴표 처리, 결과 복사 기능을 제공하며 모든 작업이 브라우저에서 실행됩니다.
JSON 샘플에서 중첩 타입, 배열, 선택적 필드가 포함된 TypeScript 인터페이스를 생성합니다. 브라우저에서 실행됩니다.