DeveloperKit

Base64 to YAML Decoder

Decode Base64 back into readable YAML instantly. Free, private, and 100% in your browser.

Input Base64

YAML Output

YAML output will appear here.

Decode Base64 to YAML Online

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.

Features

  • Validate and format

    The decoded YAML is validated and can be re-indented, or shown exactly as it was encoded with As decoded.

  • Kubernetes Secrets

    Paste a value from the data section of a Secret to read it as plain YAML or text.

  • Forgiving input

    Accepts standard Base64 and base64url, line breaks, missing padding, and data URI prefixes.

  • Precise errors

    Invalid Base64 characters are reported with their exact line and column.

  • Full UTF-8 support

    Decoded bytes are read as UTF-8, so non-ASCII characters come back correctly.

  • Private by design

    Decoding runs entirely in your browser. Your secrets are never uploaded.

Base64 to YAML Example

Base64 input
ZGF0YWJhc2U6CiAgaG9zdDogZGIuaW50ZXJuYWwKICB1c2VyOiBhcHAKICBwYXNzd29yZDogczNjcmV0
YAML output
database:
  host: db.internal
  user: app
  password: s3cret

How to Decode Base64 to YAML

  1. Paste your Base64 string into the input editor, or upload a text file.
  2. The decoded YAML appears instantly.
  3. Copy the YAML or download it as a .yaml file.

Frequently Asked Questions

How do I decode a Kubernetes Secret?

Run kubectl get secret <name> -o yaml, copy one of the values under data, and paste it into the input. The decoded value appears instantly.

Is the decoded YAML validated?

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.

Why does it say the data is not valid UTF-8 text?

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.

Is my data uploaded anywhere?

No. Decoding runs entirely in your browser. Your data never leaves your device.

  • YAML to Base64

    Encode YAML as Base64 for Kubernetes Secrets, CI variables, and config values.

  • YAML Formatter

    Format and validate YAML with exact line and column errors. Keeps comments, anchors, and block scalars.

  • JSON to YAML

    Convert JSON to clean, readable YAML for Kubernetes, Docker Compose, CI pipelines, and config files.

  • XML to YAML

    Convert XML documents and configs into clean, readable YAML.