PrivTab

YAML 포매터·검사기

YAML 정리 및 검사

브라우저에서 실행 · 업로드 없음

이 도구와 페이지의 안내는 현재 영어로만 제공됩니다. 동작은 똑같으며, 모든 처리는 브라우저에서 이루어집니다.

  • 아무것도 기기 밖으로 나가지 않음
  • 서버의 파일 크기 제한 없음
  • 가입 불필요, 워터마크 없음
  • 무료

How to format YAML

  1. Paste your YAML, open a .yaml file, or try the example.
  2. Choose the indentation, and whether keys should be sorted.
  3. Copy or download the result. A mistake is shown with its line and column.

What is checked

  • Indentation that doesn't line up, and tabs used for indentation (YAML allows only spaces).
  • Unclosed brackets and quotes, and a missing space after a colon.
  • The same key twice in one mapping.
  • Every document of a file separated by ---.

Comments are kept

Many YAML tools drop comments when they reformat a file. This one keeps them, along with anchors (&name) and aliases (*name), so it is safe for GitHub Actions workflows, Docker Compose and Kubernetes files. Values are never changed: the reformatted file is the same data in a tidier layout.

자주 묻는 질문

Why is my YAML invalid?

The most common causes are a tab used for indentation, a key indented one space too many or too few, and a colon inside an unquoted value. The message shows the line and column where the problem starts.

Can I convert YAML to JSON here?

Use the YAML to JSON Converter, which turns YAML into JSON and back.

Is my file uploaded?

No. Everything happens in your browser, and the page is blocked from uploading anything.