← All tools

JSON and YAML to HCL Converter

Convert JSON or YAML to a Terraform HCL file or a literal expression. Choose how nested maps are represented and keep template markers literal.

hcl-converterLOCAL WORKSPACE

Enabling local controls…

Output

How to use this tool

Choose the source format and output shape. Common Terraform root sections become labeled blocks. With literal expression output, top-level arrays and scalars are also supported.

When not to use it

The output uses literal values. Review the nested block choices against your provider schema before use. Comments and YAML presentation are discarded.