Base64 to YAML
Decode Base64 strings, such as Kubernetes Secret values, back into readable YAML.
Encode YAML as Base64 or base64url instantly. Free, private, and 100% in your browser.
Kubernetes Secrets, Helm values, and CI/CD pipelines often need configuration as a single Base64 string. This encoder converts your YAML exactly as written, including comments and indentation, into standard Base64 or URL-safe base64url.
Your YAML is checked before encoding, with the exact line and column of any error. By default it is encoded exactly as typed, including comments.
Produce values for the data field of Kubernetes Secrets and ConfigMaps.
Non-ASCII characters are encoded correctly as UTF-8, unlike the browser's btoa().
Store multi-line YAML safely in a single-line CI variable or environment variable.
Use the URL-safe alphabet, or wrap lines at 76 characters.
Encoding runs entirely in your browser. Your secrets are never uploaded.
database:
host: db.internal
user: app
password: s3cretZGF0YWJhc2U6CiAgaG9zdDogZGIuaW50ZXJuYWwKICB1c2VyOiBhcHAKICBwYXNzd29yZDogczNjcmV0Values in the data section of a Kubernetes Secret must be Base64-encoded. Paste the value or file content, copy the Base64 output, and use it in the Secret manifest. Alternatively, use the stringData field, which accepts plain text.
Yes. Your YAML is checked as you type, and errors such as bad indentation, tabs, or duplicate keys are shown with their line and column. With Encode YAML set to As typed, the text is then encoded byte for byte, including comments and formatting.
No. Base64 is an encoding, not encryption, and anyone can decode it. Kubernetes Secrets should be protected with access control and encryption at rest.
No. Encoding runs entirely in your browser. Your YAML never leaves your device.
Decode Base64 strings, such as Kubernetes Secret values, back into readable YAML.
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.