// Mixed indentation
user:
name: John
age: 25YAML requires consistent indentation. The line above mixes two and four spaces, which is a parse error.
검색하려면 입력하거나 도구를 선택하세요.
브라우저에서 YAML을 JSON으로 즉시 변환. 빠르고 무료하며 개발자를 위해 설계됨 — 업로드 불필요, 줄 단위 오류, 완전한 클라이언트 사이드 처리.
YAML input
JSON output
YAML is a human-friendly data serialization format used for configuration, CI pipelines, and Kubernetes manifests. It uses indentation (no braces or brackets) to express structure and supports maps, sequences, scalars, anchors, and multiline strings.
JSON is the lingua franca of web APIs. It is strict about quoting strings and has only six value types — object, array, string, number, boolean, and null. Every YAML document can be expressed as JSON, but not the other way around.
YAML optimises for humans. JSON optimises for machines. YAML allows comments and anchors; JSON does not. YAML is whitespace-sensitive; JSON uses explicit { } and [ ]. When you convert from YAML to JSON, comments are dropped and YAML's flexible scalars (unquoted strings, dates) are emitted as proper JSON types where possible.
// Mixed indentation
user:
name: John
age: 25YAML requires consistent indentation. The line above mixes two and four spaces, which is a parse error.
// Missing colon
title YAML without a colonEvery key in a mapping needs a : separator. Without one, YAML reads the line as a plain scalar and skips it.
// Tab characters
key: valueYAML forbids tabs for indentation. Use spaces only. Most editors convert tabs to spaces automatically — but a stray one will break the file.
// Unsupported syntax
This converter supports the core YAML 1.2 spec. Custom tags and esoteric directives are not parsed.
// 단순 객체
// 중첩된 객체
// 요소 배열
아니요. 변환은 JavaScript를 사용하여 브라우저에서 완전히 실행됩니다. 네트워크 탭을 열면 데이터를 포함하는 요청이 보이지 않습니다.
JSON에는 주석 구문이 없으므로 변환 중 주석이 제거됩니다.
파싱 실패한 정확한 줄과 열, 가능한 수정 사항을 설명하는 힌트와 함께 오류 메시지가 표시됩니다.
네. 파일을 입력 패널에 드래그하거나 업로드 버튼을 사용하세요.
고정된 제한은 없지만 매우 큰 파일은 UI를 일시 중지시킬 수 있습니다.
네 — 가장 강력한 보장은 데이터가 브라우저를 결코 떠나지 않는다는 것입니다.
YAML은 설정 파일, CI 파이프라인, Kubernetes 매니페스트에 사용되는 사람이 읽기 쉬운 데이터 형식입니다. JSON은 JavaScript에서 네이티브로 지원하는 웹 API용 범용 데이터 형식입니다. 이 도구는 YAML 문서를 유효한 JSON 구조로 변환합니다.
변환기는 중첩된 구조, 데이터 타입, 키의 순서를 보존합니다. YAML 주석은 JSON이 주석을 지원하지 않으므로 제거됩니다. 앵커와 별칭은 변환 전에 해석됩니다.
설정 파일을 웹 API나 JavaScript 애플리케이션용 JSON으로 변환해야 할 때 이 도구가 유용합니다.
데이터 분석을 위해 jq나 JSONPath 같은 JSON 도구로 YAML 데이터를 처리할 수 있게 됩니다.
YAML 매핑은 JSON 객체로 변환됩니다. YAML 시퀀스는 JSON 배열이 됩니다. 스칼라 값은 YAML 타입에 따라 문자열, 숫자 또는 부울로 유지됩니다.
여러 YAML 문서(--- 포함)의 경우 첫 번째 문서만 변환됩니다. 여러 문서가 있는 경우 문서를 분리하여 각각 변환하세요.