Paste a Terraform state file to analyze resource counts, provider breakdown, and potential issues.
Last verified: May 2026
Output will appear here...Plans for your production workspace have crept from 90 seconds to 8 minutes over six months and nobody knows why. You pull the state, paste it into the analyzer, and see 4,800 resources — 2,100 of them in a single module that turned out to be replicating per-customer IAM roles inside one workspace. Splitting that module into its own workspace cuts the main plan back to 2 minutes and lets the per-customer state run in parallel.
Terraform state files are the source of truth for what Terraform thinks your infrastructure looks like. They are also large JSON blobs that no one wants to read by hand. The Terraform State Analyzer parses a state file in-browser and surfaces a resource count by provider and resource type, flags suspicious patterns (duplicate names, orphaned modules, stale outputs), and estimates state size against known performance cliffs — all without uploading the file anywhere.
The analyzer parses the state file as JSON and walks the `resources` array, grouping by provider (the prefix before the first dot in `type`) and by resource type. It computes a histogram of resources-per-module, detects duplicate addresses, and reports the state's byte size alongside Terraform's documented performance characteristics for state-file size. No data is transmitted off your device.
Resources with no `depends_on` and very few attribute references are usually safe to extract into a separate workspace. The analyzer's per-module breakdown helps spot these candidates quickly.
If your state has resources from provider versions you no longer use (e.g., aws ~> 3.x entries in a state that should be aws ~> 5.x), Terraform will need a `state replace-provider` migration before the next plan succeeds. The provider-version count surfaces this.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.