Base64 Encode & Decode — In Browser
Encode readable text as Base64 or decode it back into text for sample payloads and debugging. This changes the representation of the bytes rather than concealing their contents.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Numbers stay on your device. Nothing is sent to a server.
How to use this tool
Check the direction before running. Supply only the encoded payload when decoding, without labels or filenames; Unicode text can occupy more bytes than its visible character count.
Results and examples
Hello becomes SGVsbG8=, and decoding that value returns Hello. The trailing equals sign can be padding and should not be removed merely to make the output shorter.
Limitations
- Anyone with the encoded string can recover its contents.
- Base64URL tokens and arbitrary binary files have different handling requirements from this text decoder.
Fields
| Field | Guidance and constraints |
|---|---|
| Input | Check the unit and format displayed beside this field. |
| Direction | Encode / Decode |
Data handling
Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.
Sources
Frequently asked questions
Is a trailing equals sign valid?
Hello becomes SGVsbG8=, and decoding that value returns Hello. The trailing equals sign can be padding and should not be removed merely to make the output shorter.
Does encoding protect a password?
Anyone with the encoded string can recover its contents. Base64URL tokens and arbitrary binary files have different handling requirements from this text decoder.
Related tools
You do not need to start over. Continue with the tool that fits your next step.