Convert Terraform to Markdown.
Drop a .tfvars and read it as Markdown with the HCL kept verbatim, or drop a .tfstate for a quick version and resource summary. It runs entirely in your browser, so your file never leaves your device.
Drag & drop your files
or
Optimize for AI & RAG
Extra cleanup for LLM ingestion: strip HTML, fix smart quotes, tidy Unicode and spacing.
Add YAML front matter
Prepend a metadata block (title, source, date, word & token counts) for knowledge bases and RAG.
Add table of contents
Build a linked index from the headings. Handy for long documents.
Export RAG chunks (.json)
Split the result into retrieval-ready chunks. Download per file from the result panel.
Most converters quietly upload your documents to a server. This one physically can't.
Two files,
two treatments.
A .tfvars variable file lands in your notes verbatim, inside a fenced HCL block. A .tfstate file is condensed to just its version and resource labels.
region = "eu-west-1"
instance_type = "t3.micro"
tags = {
Environment = "production"
}
```hcl
region = "eu-west-1"
instance_type = "t3.micro"
tags = {
Environment = "production"
}
```
Everything you
actually need.
Terraform files in, readable Markdown out, with no server and no account anywhere.
It never leaves your browser
Your .tfvars is read on your device. Infrastructure files often hold secrets, so nothing is uploaded to any server, ever.
# Heading
- point one
3 chunks
AI & RAG ready
Optional cleanup, YAML front matter, a table of contents and RAG chunk export.
Works offline
Once the page has loaded you can switch off your connection and it keeps converting.
```hcl
region = "eu-west-1"
```
Variables, preserved
A .tfvars file is kept verbatim in a fenced HCL block, so every value stays exactly as written.
Unicode safe
Accents, symbols and non-Latin scripts come through intact as UTF-8.
Free, and unlimited
No sign-up, no quotas, no watermarks. Convert one file or a thousand; it all runs the same way, on your own device.
What survives
the trip.
Honest about what comes through, and what doesn't. These are the same notes the Formats list shows for Terraform, so the page never drifts from what the converter really does.
Kept
3- .tfvars kept verbatim in a fenced HCL block
- The .tfstate version
- A list of .tfstate resource labels
Dropped
1- All .tfstate attribute values
```hcl
region = "eu-west-1"
instance_type = "t3.micro"
```
State version 4
- aws_instance.web
- aws_s3_bucket.assets
Terraform questions,
answered.
Everything worth knowing before you drop in a .tfvars or .tfstate.
Other converters.
Working with more than Terraform files? These convert the same way: privately, in your browser.
Gemtext to Markdown
.gmi
Gemini protocol pages.
txt2tags to Markdown
.t2t
txt2tags markup.
Djot to Markdown
.dj
Djot lightweight markup.
JSON to Markdown
.json · .jsonc · .json5 · .ndjson
JavaScript Object Notation data.
XML to Markdown
.xml
Extensible markup data.
YAML to Markdown
.yaml · .yml
Human-friendly config data.
TOML to Markdown
.toml
Readable configuration files.
INI / config to Markdown
.ini · .conf · .cfg
Classic key-value config.