Terraform HCL Visualizer
Inspect the block structure, attributes and dependencies of Terraform HCL
HCL source
Block inventory
Inferred references
Blocks
required_version= ">= 1.5"region= "us-east-1"type= numberdefault= 2ami= "ami-12345"instance_type= "t3.micro"count= var.instance_counttags= { Name = "web" }most_recent= truevalue= aws_instance.web.idsource= "terraform-aws-modules/vpc/aws"Examples
Map a small config
A .tf file with resources, a variable, an output and a moduleBlock counts (e.g. 2 resources, 1 variable, 1 output, 1 module) plus inferred references.The tool loads a sample Terraform file — the inventory shows the shape and the references show how blocks connect.
Spot a dependency
output "web_id" { value = aws_instance.web.id }Reference: output.web_id → aws_instance.web.idAttribute values that look like references are listed so you can trace how an output depends on a resource.
About this tool
As a Terraform configuration grows, its block structure — resources, data sources, variables, outputs, modules, providers, and locals — becomes hard to hold in your head. This visualizer parses HCL and renders it as a navigable inventory instead of a wall of text.
Paste a .tf file and the tool counts blocks by type, lists each block with its labels and attributes (including nested blocks), and infers ${...} dependency references between them. It is a pragmatic parser focused on structure, not a full HCL implementation, so it is great for understanding and reviewing a configuration quickly.
How to use
Paste the HCL
Copy the contents of one or more .tf files into the source box.
Read the inventory
Use the block counts to see the shape of the configuration at a glance.
Inspect blocks
Expand any block to read its attributes and nested blocks.
Trace dependencies
Use the inferred references to see how resources, variables and outputs connect.
Common mistakes
Mistake:Trusting inferred references as exhaustive.
Fix:They are a heuristic from attribute values; real dependencies may also come from implicit data flow.
Mistake:Pasting a directory path.
Fix:Paste the file contents — this tool parses HCL text, it does not read your filesystem.
Frequently asked questions
Related guides
References & standards
Related tools
Lighthouse Audit Summary
Summarize a Lighthouse report into prioritized actions. Enter category scores or paste Lighthouse JSON to get grades, weakest areas, and a ranked improvement checklist.
SSL Chain Analyzer
Paste a PEM certificate bundle and verify the chain order — find missing intermediates, broken links, expired or not-yet-valid certificates, self-signed roots, and duplicates. All in-browser.
SQL Injection Detector
Scan an input string or query for SQL injection signatures — tautologies, UNION SELECT, stacked queries, time-based blind, comments, and destructive statements — with a risk score and classification.
NoSQL Validator
Validate a JSON document against a JSON Schema or MongoDB $jsonSchema. Get clear, path-precise errors for missing fields, wrong types, patterns, ranges, and disallowed properties.
JSON Schema Builder
Build a JSON Schema or MongoDB $jsonSchema validator visually — add properties, pick types, mark required, set patterns and ranges — with live output and a test document.
SQL Performance Analyzer
Paste a SQL query to find performance anti-patterns — SELECT *, leading-wildcard LIKE, missing WHERE, cross joins, NOT IN, functions on columns — with a score and ranked fixes.