cfn-flip
« Back to VersTracker
Description:
Convert AWS CloudFormation templates between JSON and YAML formats
Type: Formula  |  Latest Version: 1.3.0@2  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: aws cloudformation devops yaml json
Install: brew install cfn-flip
About:
cfn-flip is a command-line utility that converts AWS CloudFormation templates between JSON and YAML formats. It intelligently handles intrinsic functions and outputs clean, readable YAML. This tool simplifies template management and promotes version control best practices.
Key Features:
  • Bidirectional JSON/YAML conversion
  • Preserves CloudFormation intrinsic functions
  • Outputs clean, human-readable YAML
  • Python-based for easy installation
Use Cases:
  • Migrating legacy JSON templates to modern YAML format
  • Preparing templates for version control systems
  • Converting templates for easier manual editing
Alternatives:
  • cfn-lint – cfn-lint validates templates but does not convert formats; cfn-flip focuses on conversion.
  • yq – yq is a general YAML processor, while cfn-flip is specifically aware of CloudFormation syntax.
License: Apache-2.0
Dependencies: libyaml, python@3.14
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 17, 2025 5:02pm 2 VERSION_BUMP 3f7d41c5
Sep 13, 2025 7:22am 2 VERSION_BUMP 332ddec0
Jan 2, 2025 6:55am 2 VERSION_BUMP ebc207c2
Nov 10, 2024 4:33pm 2 VERSION_BUMP 79ceea73
Oct 11, 2024 7:23pm 2 VERSION_BUMP d2c08616