Convert HCL → JSON Online — Free
Convert Terraform / HCL configuration to JSON format.
Output will appear here
Free plan includes 50 conversions/day. Need more? Talk to us →
What is a .hcl file?
HCL is a widely-used format in the Developer Tools category. Convert Terraform / HCL configuration to JSON format. Files in this format are commonly used across various tools, pipelines, and workflows.
What is a .json file?
JSON is a popular format in the Developer Tools ecosystem. Converting from HCL to JSON gives you access to its unique features, broader tooling support, and improved interoperability.
How to convert HCL → JSON online
Paste your input
Type or paste your source data into the left Input panel.
Auto-convert fires
Results appear automatically as you type (600 ms debounce). Hit Ctrl+Enter to force-convert.
Review the output
Inspect the converted result in the right Output panel.
Copy or download
Click "Copy" to copy to clipboard, or download the output as a file.
Frequently asked questions
Is this HCL to JSON converter free?
Yes. The HCL → JSON tool is free for up to 50 conversions per day. Pro (500/day) and Business (unlimited) plans unlock higher limits.
Is my data private? Does anything get uploaded?
Yes — the conversion runs entirely in your browser using JavaScript. Your data never leaves your device. No file is uploaded.
What is the maximum file size for HCL?
You can convert files up to 2 MB. If your file is larger, consider compressing it first or upgrading to a Business plan for increased limits.
What is the difference between HCL and JSON?
HCL and JSON are both formats in the Developer Tools category, each with different use cases, tooling support, and feature sets. Convert Terraform / HCL configuration to JSON format.
Can I convert multiple files at once?
Batch conversion is available on Pro and Business plans. Free users convert one file at a time.