Skip to content

포매터 및 코드

YAML 포맷터

무료 YAML 포맷터. Kubernetes 매니페스트, CI 구성 및 기타 모든 YAML에서 들여쓰기를 정규화하고, 모호한 따옴표를 해결하고, 키를 정렬합니다. Prettier 기반, 브라우저 내에서 작동합니다.

Runs in your browser
YAML formatter & validator
lines: 0chars: 0size: 0 B
YAML · UTF-8 · 2-space indent

편집자 노트

Understanding · YAML's two minds.

이 심층 챕터는 현재 영어로만 제공됩니다. 위의 변환 도구는 귀하의 언어로 작동하지만, 긴 설명 글은 아직 번역되지 않았습니다.

자주 묻는 질문

Quick answers.

Does it handle anchors and aliases?

Yes — Prettier's YAML parser understands *anchors, &aliases, block scalars, flow-style sequences and maps, all of it. The output round-trips cleanly.

Will it change my values?

Only whitespace and quoting. If a value was ambiguous (like unquoted `yes` being coerced to boolean), it stays as-written — Prettier won't silently re-parse scalars.

Is this a linter?

No — it's a formatter. For lint rules (required keys, schema validation) use yamllint or a Kubernetes-specific linter.

Safe for Kubernetes manifests?

Yes — tested on Deployments, Services, ConfigMaps, Helm templates. Multi-document files (--- separators) round-trip cleanly.

사람들이 다음도 검색합니다.

관련 도구

More in this room.

모두 보기 포매터 및 코드