YAML to Base64
Encode YAML as Base64 for Kubernetes Secrets, CI variables, and config values.
Decode Base64 back into readable YAML instantly. Free, private, and 100% in your browser.
Kubernetes stores Secret values as Base64, and many CI/CD systems pass YAML configuration as Base64-encoded variables. This decoder turns those strings back into readable YAML so you can inspect or edit them.
The decoded YAML is validated and can be re-indented, or shown exactly as it was encoded with As decoded.
Paste a value from the data section of a Secret to read it as plain YAML or text.
Accepts standard Base64 and base64url, line breaks, missing padding, and data URI prefixes.
Invalid Base64 characters are reported with their exact line and column.
Decoded bytes are read as UTF-8, so non-ASCII characters come back correctly.
Decoding runs entirely in your browser. Your secrets are never uploaded.
ZGF0YWJhc2U6CiAgaG9zdDogZGIuaW50ZXJuYWwKICB1c2VyOiBhcHAKICBwYXNzd29yZDogczNjcmV0database:
host: db.internal
user: app
password: s3cretRun kubectl get secret <name> -o yaml, copy one of the values under data, and paste it into the input. The decoded value appears instantly.
Yes, unless you choose As decoded. The decoded text is checked, and any YAML error is reported with its line and column. As decoded shows the original content byte for byte.
The Base64 data most likely contains a binary file, such as a certificate in DER format, an image, or a compressed archive, rather than text.
No. Decoding runs entirely in your browser. Your data never leaves your device.
Encode YAML as Base64 for Kubernetes Secrets, CI variables, and config values.
Format and validate YAML with exact line and column errors. Keeps comments, anchors, and block scalars.
Convert JSON to clean, readable YAML for Kubernetes, Docker Compose, CI pipelines, and config files.
Convert XML documents and configs into clean, readable YAML.