base64
SafeBase64 encode/decode
base64 <file>
Encodes binaries to text and back (-d) — certificates, embedded configs, and decoding K8s Secrets.
Examples
echo 'cGFzcw==' | base64 -dDecode a Base64 string
Syntax
base64 [-d] [file]
Before you run it
Conversion only.
Related commands
- kubectl get secretInspect Secrets
- opensslInspect TLS/cert
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store