Developer tools
HCL to JSON
Convert common Terraform-style HCL attributes and blocks into JSON. Nothing you enter leaves your browser.
Your result will appear here.
Simple by design
Get the answer, without the clutter.
FormatCalc is built for quick work. This hcl to json runs entirely on your device, so private text and data stay private.
01
Enter or paste your information.
02Transform it with one click.
03Copy, use, or download your result.
Common questions
Using the HCL to JSON
Is the HCL to JSON free to use?
Yes. FormatCalc's HCL to JSON is free to use with no account required.
Is my data private when I use the HCL to JSON?
Yes. This tool processes your input locally in your browser. FormatCalc does not upload or store what you enter.
How do I use the HCL to JSON?
Paste or type your input, select any available options, and choose Convert to JSON. You can then copy the result.