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

• Pretty-prints a single values.yaml document (rejects apiVersion+kind manifests). • Auto-format on paste/upload/sample; manual edits use the Format button (⌘↵). • YAML # comments are dropped by js-yaml — a soft warning appears when the input likely had comments. • Pair with format-kubernetes / validate-kubernetes.

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.

Kubernetes

Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.

Explore other tool categories

Minify

Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.

Beautify

Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.

Unminify

Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.

Conversion

Transform data between JSON, YAML, XML and CSV locally — no server uploads.

CSS preprocessors

Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.

JSON Tools

Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.

SVG Tools

Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.

DevOps & Infra

Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.

CI/CD

GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.

Logs & observability

Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.

Networking / IP

CIDR, subnets, and IPv4/IPv6 helpers — in your browser.

Security & tokens

JWKS, X.509 certificates, and secrets scan — browser-local.

API & schemas

OpenAPI tools to format, validate, and lint your specs.

Encoding

Encode or decode Base64, URL components and HTML entities — client-side only.

Developer utilities

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.

Text & Markdown

Count words, build Markdown TOCs, and clean line lists — all in your browser.

Serialization

Serialize and deserialize PHP data structures beside JSON workflows.