首页
Tom Utilities

JSON 转 YAML

JSON 工具

将 JSON 转换为干净的 YAML,用于配置文件和 Kubernetes 清单。

输入

结果

使用方法

Converting JSON to YAML

Press Convert to serialise your JSON as YAML.

  1. Paste JSON into the input editor.
  2. Press Convert.
  3. Copy the YAML output.

常见问题

Is the YAML output indented consistently?

Yes, two space indentation is used by default for maximum tool compatibility.

Are dates preserved?

Values stay as they are in JSON. A string that looks like a date remains a string.