A labeled resource
Labels become nested keys. Attributes become object fields.
resource "aws_s3_bucket" "data" {
bucket = "configkit-data"
}This HCL to JSON converter turns Terraform into JSON in your browser. Interpolations stay strings and are not evaluated.
This is a static parser, not terraform. Function calls and interpolations become strings. Invalid HCL is not repaired.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
Labels become nested keys. Attributes become object fields.
resource "aws_s3_bucket" "data" {
bucket = "configkit-data"
}ami-${var.env} is not expanded.
resource "aws_instance" "web" {
ami = "ami-${var.env}"
}Open DevTools → Network, paste a document, and confirm no request carries the editor text. The page load and the Google tag still appear. Analytics events carry the tool name, never what you pasted.
Convert a JSON object to TOML in the browser. Null values and mixed arrays are rejected, and invalid JSON produces no TOML.
Convert TOML to JSON online in your browser. Tables, arrays, and dates are mapped explicitly; the file is not uploaded.
Convert YAML to JSON without uploading the file. Parsing stays in this browser and works offline after the page loads.