Free YAML to Base64 encoder — UTF-8-safe, ideal for Kubernetes Secrets

UTF-8-safe Base64, processed entirely in your browser — nothing is uploaded.

YAML to Base64 — encode for Kubernetes Secrets & config

The number-one reason to encode YAML as Base64 is Kubernetes: every value under a Secret's data: field must be Base64-encoded. This tool validates your YAML, then produces the UTF-8-safe Base64 string to paste in — entirely in your browser, so credentials never leave your machine.

data vs stringData

FieldValue form
datamust be Base64 — use this tool
stringDataplain text — Kubernetes encodes it for you

⚠️ A Secret is encoded, not encrypted

Base64 in a Secret provides no confidentiality — anyone with read access can decode it. Use encryption-at-rest and RBAC for real protection. Reverse this with Base64 to YAML.

Related tools