YAML → JSON オンラインコンバーター

Free 無料 · ログイン不要 · データ保存なし
Indent
Error
YAML
JSON
// JSON output

その他の開発ツール

YAML フォーマッター
整形・検証
JSON→YAML
YAML に変換
TOML→JSON
JSON に変換
CSV→JSON
JSON に変換
XML→JSON
JSON に変換
JSON フォーマッター
整形・検証・圧縮
タイムスタンプ
Unix ↔ 日付
URL エンコード
パーセント変換

なぜこれが最高のYAML→JSONコンバーターなのか

完全なYAMLサポート

Handles all common YAML features: mappings, sequences, block and flow styles, anchors & aliases, multi-line strings, and comments.

正確な型推論

YAML booleans (true/false/yes/no), integers, floats, and null values are correctly mapped to their JSON equivalents.

シンタックスハイライト出力

JSON output is syntax-highlighted by key, value type, and structure, making it easy to inspect the converted result.

JSONダウンロード

Export the converted result as a .json file for use in APIs, databases, or any JavaScript/TypeScript application.

よくある質問

What is the difference between YAML and JSON?

YAML uses indentation and is more human-readable, commonly used for config files (Kubernetes, Docker, GitHub Actions). JSON uses braces and quotes, making it ideal for APIs and data exchange. Both can represent the same data structures.

Does this handle YAML anchors and aliases?

Yes. YAML anchors (&name) and aliases (*name) are fully resolved during conversion. The resulting JSON will contain the expanded, dereferenced values.

Are YAML comments preserved in JSON?

No. JSON does not support comments, so YAML comments (lines starting with #) are stripped during conversion. Only data values are transferred to the JSON output.

詳細ガイド
YAML & TOML 設定ガイド
Kubernetes・Docker・Rust・Python設定
ガイドを読む