Nothing decoded yet
Paste a Base64 value. Both alphabets are accepted, padding is optional, and non-text results can be downloaded as a file.
Runs entirely in your browser. Your data isn't uploaded — this page makes no network request with anything you type, which you can verify in your browser's network tab. How this works.
What is the Base64 Decoder?
Decoding Base64 is the everyday half of the job: reading a Kubernetes Secret, inspecting a token segment, recovering a file that was pasted into a config, or checking what an integration partner actually sent.
This decoder accepts both alphabets, tolerates missing padding and stray whitespace, and can hand the result back either as UTF-8 text or as a file download when the bytes are not text at all.
How to use it
- Paste the Base64 string.
- Press Decode (or Ctrl/Cmd + Enter).
- If the bytes are not valid UTF-8, switch to the hex view or use Download to save the original file.
Example
A Kubernetes Secret value decoded.
cG9zdGdyZXM6Ly9hcHBAZGItaG9zdDo1NDMyL2FwcGRi
postgres://app@db-host:5432/appdb
Features
- Accepts standard and URL-safe alphabets automatically
- Tolerates missing padding, newlines and surrounding whitespace
- Text, hex and byte-size views of the decoded output
- Download decoded binary as a file, with content-type sniffing
- Clear errors that name the invalid character and its position