YAML 포매터
일관된 들여쓰기와 검증으로 YAML을 파싱하고 다시 직렬화합니다.
입력
결과
사용 방법
How to format YAML
Paste YAML and press Format. The document is parsed and written back with standard indentation.
- Paste YAML into the input editor.
- Press Format.
- Copy the normalised document.
자주 묻는 질문
Are anchors and aliases supported?
Anchors and aliases are resolved on parse, so the formatted output contains the expanded values.
Will formatting remove comments?
Comments are not preserved because the formatter works from the parsed data structure.
관련 도구
YAML 검증기
YAML 구문을 검증하고 들여쓰기나 구조가 잘못된 경우 정확한 오류를 표시합니다.
YAML을 JSON으로
API와 JavaScript 애플리케이션을 위해 YAML 문서를 JSON으로 변환합니다.
JSON을 YAML로
구성 파일과 Kubernetes 매니페스트를 위해 JSON을 깔끔한 YAML로 변환합니다.
XML 포매터
일관된 들여쓰기와 선택적 속성 줄바꿈으로 XML을 정리합니다.
XML 검증기
XML 문서가 올바른 형식인지 확인하고 명확한 오류 설명을 보여줍니다.
XML 압축기
XML 태그 사이의 공백을 제거하여 가장 작은 페이로드를 만듭니다.