Skip to main content

HCL (Terraform) Formatter

v1.0.0

Format HashiCorp Configuration Language (HCL) files used by Terraform, Consul, and Vault.

Hcl Formatter that formats, validates, or transforms source code files.

How to use
  • Paste your code into the editor panel.
  • The formatted or analysed output appears automatically.
  • Copy the result using the Copy button.
  • Try a preset from the example picker to see sample input.