Kubernetes Secret Encoder

Base64-encode and decode values for Kubernetes Secret manifests.

How it works

Encode plain text into Base64 for a Kubernetes Secret's data field, or decode an existing value. Prefer stringData in manifests when you want to avoid manual encoding.

Example: s3cr3t-password encodes to czNjcjN0LXBhc3N3b3Jk for a Secret's data field.

Plain value
Base64
In a Secret's data: field values must be Base64-encoded. Use stringData: if you prefer to provide plain text.