All tools

kubectl secret helper

Cloud

Convert Kubernetes Secret values between plain stringData and base64-encoded data blocks, in either direction. All in your browser — nothing is sent anywhere.

stringData (plain)data (base64)
stringData (plain)
data (base64)
data:
  username: YWRtaW4=
  password: czNjcjN0LXBAc3M=

Kubernetes Secret stores values base64-encoded under data:; stringData: takes plain text and is encoded on apply. Paste key: value lines either way. Encoding is not encryption — anyone with read access to the Secret can decode it. Runs entirely in your browser.