cfn-flip
brew install cfn-flip
v1.3.0_2
Apache-2.0
Convert AWS CloudFormation templates between JSON and YAML formats
20
30-day installs · #6872
61
90-day · #6766
247
365-day · #6824
999
★ GitHub stars · updated 3y ago
Runtime dependencies
Links
- https://github.com/awslabs/aws-cfn-template-flip
- GitHub: awslabs/aws-cfn-template-flip
- Brew formula source: Formula/c/cfn-flip.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"libyaml",
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Convert AWS CloudFormation templates between JSON and YAML formats",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:16+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cfn-flip",
"github_default_branch": "master",
"github_last_commit_at": "2023-02-08T16:38:58Z",
"github_readme_excerpt": "**NOTICE:** For CLI usage, AWS CloudFormation Template Flip is now *deprecated*.\n\nYou should use [rain](https://github.com/aws-cloudformation/rain) instead. `rain fmt` can convert CloudFormation templates between JSON and YAML.\n\nSee [the rain fmt documentation](https://aws-cloudformation.github.io/rain/rain_fmt.html) for details.\n\nThis deprecation notice does not affect the API in this package which may continue to be used.\n\n---\n\n[](https://github.com/awslabs/aws-cfn-template-flip/actions/workflows/test.yml)\n[](https://badge.fury.io/py/cfn-flip)\n[](https://codecov.io/gh/awslabs/aws-cfn-template-flip)\n\n# AWS CloudFormation Template Flip\n\n## About\n\nAWS CloudFormation Template Flip is a tool that converts [AWS CloudFormation](https://aws.amazon.com/cloudformation/) templates between [JSON](http://json.org/) and [YAML](http://yaml.org) formats, making use of the YAML format\u0027s short function syntax where possible.\n\nThe term \"Flip\" is inspired by the well-known Unix command-line tool [flip](https://ccrma.stanford.edu/~craig/utility/flip/) which converts text files between Unix, Mac, and MS-DOS formats.\n\n## Installation\n\nAWS CloudFormation Template Flip can be installed using [pip](https://pip.pypa.io/en/stable/):\n\n```bash\npip install cfn-flip\n```\n\n## Usage\n\nAWS CloudFormation Template Flip is both a command line tool and a python library.\n\nNote that the command line tool is spelled `cfn-flip` with a hyphen, while the python package is `cfn_flip` with an underscore.\n\n### Command line tool\n\n```\nUsage: cfn-flip [OPTIONS] [INPUT] [OUTPUT]\n\n AWS CloudFormation Template Flip is a tool that converts AWS\n CloudFormation templates between JSON and YAML formats, making use of the\n YAML format\u0027s short function",
"github_repo": "awslabs/aws-cfn-template-flip",
"github_stars": 999,
"github_topics": [],
"homepage": "https://github.com/awslabs/aws-cfn-template-flip",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 20,
"installs_365d": 247,
"installs_90d": 61,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "cfn-flip",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6872,
"rank_365d": 6824,
"rank_90d": 6766,
"raw_hash": "ed4d5a446710814f",
"recommended_dependencies": [],
"revision": 2,
"ruby_source_path": "Formula/c/cfn-flip.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "1.3.0",
"versioned_formulae": [],
"why_use_this": null
}