Format Helm values.yaml — Pretty-Print Values

Pretty-print a Helm values.yaml in your browser (single document). Roots that look like Kubernetes manifests (apiVersion + kind) are rejected — use format Kubernetes instead. Does not run helm template or render charts.

Loading…
Helm values formatter — pretty-print only
Normalize indentation on values.yaml. Not a chart renderer — use format Kubernetes for manifest YAML.

Developer notes

• Single document only — --- multi-doc is rejected. • If the root has both apiVersion and kind, the tool rejects it and points you to format Kubernetes. • js-yaml round-trip drops comments. • Does not execute helm template, lint, or install. • Max input 512 KB.

Options

Indent width
Spaces per indentation level in the dumped values YAML (2 or 4).

When teams pick this route

• Clean a messy values override before a PR. • Normalize indent across copied chart values. • Read nested image/replica blocks more easily. • Avoid pasting full manifests into a values formatter by mistake.

Worked examples

Compact values → indented

Before

replicaCount: 2 image: { repository: nginx, tag: "1.27", pullPolicy: IfNotPresent } service: { type: ClusterIP, port: 80 } ingress: { enabled: false }

After format

replicaCount: 2 image: repository: nginx tag: "1.27" pullPolicy: IfNotPresent service: type: ClusterIP port: 80 ingress: enabled: false

Manifest root rejected

Before

apiVersion: apps/v1 kind: Deployment metadata: name: web

After format

Error — looks like a Kubernetes manifest; use format Kubernetes instead.

Navigate related Kubernetes tools

Format manifests with format Kubernetes, validate via validate Kubernetes, or open the Kubernetes hub. Generic YAML: beautify YAML.

Helm values formatter FAQ

values.yaml only

Does it run helm template?

No. It only pretty-prints YAML. Chart rendering, hooks, and dependency updates are out of scope.

Why was my Deployment rejected?

Roots with both apiVersion and kind are treated as Kubernetes manifests. Use format Kubernetes for those files.

Multi-document values?

Not supported. Helm values.yaml must be a single mapping document.

beautify YAML vs this tool?

beautify YAML is the generic formatter. This tool adds Helm-oriented guards (single doc, reject manifest-shaped roots) and lives in the Kubernetes hub.

Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.