JSON Formatter for AWS CloudFormation

Your data never leaves your browser

AWS CloudFormation templates can grow to thousands of lines. A single misplaced bracket can cause a stack deployment to fail. Validate and beautify your CloudFormation JSON before pushing to AWS, without sending your infrastructure code to any server.

Example

{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Resources": {
    "WebServer": {
      "Type": "AWS::EC2::Instance",
      "Properties": {
        "InstanceType": "t3.micro",
        "ImageId": "ami-0c55b159cbfafe1f0"
      }
    }
  }
}

Tips

  1. 1Validate CloudFormation JSON locally before running aws cloudformation validate-template.
  2. 2Use tree view to navigate deeply nested Resource properties.
  3. 3Convert CloudFormation JSON to YAML using the built-in converter.

Frequently Asked Questions

Does formatting change behavior?

No. Formatting only affects whitespace.

Can I format large templates?

Yes, up to 5 MB.

Is my code safe?

Yes. All formatting happens in your browser.