Data & Formats

YAML, TOML & .env config tools

Reviewing a config pull request, tracking down why one environment behaves differently from another, or converting a config file into the format a new tool expects — these are the everyday jobs around YAML, TOML and .env files. This page covers formatting, structural diffing, anchor tracing, and conversions between YAML, TOML, JSON, INI, Properties and plist.

YAML formatter and TOML formatter keep your comments and existing structure instead of rewriting the file from scratch, and YAML diff compares documents structurally so reordered keys don't show up as noise. ENV Diff & Missing Keys is built specifically to catch variables present in one .env file but missing from another, and ConfigMap / Secret / ENV turns a plain .env into Kubernetes manifests. All of it runs locally.

15 tools

YAML / TOML / ENV Config tools FAQ

Why did my YAML diff tool show changes on lines I didn't touch?

A naive line-by-line diff flags reordered or re-indented keys as changes even when the data is identical. YAML diff compares documents by structure instead of by text, so it reports only actual value changes and keeps your original comments visible, which makes real changes easier to spot in a review.

How do I find which environment variables are missing between two .env files?

Load both files into ENV Diff & Missing Keys. It compares by key rather than by line order, so it lists variables present in one file but not the other along with any values that changed — faster than scanning two files side by side for a typo.

Can I convert a .env file into a Kubernetes ConfigMap or Secret?

Yes. ConfigMap / Secret / ENV converts dotenv or plain text files directly into ConfigMap and Secret manifests, which saves hand-formatting YAML for each key. For plain format conversion without Kubernetes, Config converter handles INI, Properties and plist instead.