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.

すべて表示 フォーマッター&コード