Base64 Encoder & Decoder
Encode or decode UTF-8 text with standard padded Base64. This is encoding, not encryption.
Input & settings
Results
UTF-8 text is supported. Base64 is an encoding format, not encryption.
What this tool does
Base64 Encoder & Decoder turns UTF-8 text into standard Base64, or turns padded Base64 back into UTF-8 text. Base64 is a way to represent bytes as text. It does not hide or encrypt the content.
How to use it
- Paste the text or Base64 string.
- Choose Encode or Decode.
- Copy the result if you need it elsewhere.
Practical example
The text “café” encodes as Y2Fmw6k=. Decoding that string returns “café”. A string without the required padding, or with characters outside the Base64 alphabet, is rejected.
Tips
Whitespace in a Base64 string is ignored before decoding. The decoder requires standard padding. URL-safe Base64, which uses - and _, is not converted here. Use the URL encoder for percent-encoding.
Questions
Is Base64 encryption?
No. Anyone can decode Base64. Do not use it to protect passwords or private files.
Which characters are accepted when decoding?
The standard alphabet A–Z, a–z, 0–9, plus, slash, and trailing equals signs, with optional whitespace.
What happens with invalid Base64?
The result is cleared and the page shows a conversion error.
Does it keep Unicode characters?
Encoding uses UTF-8 bytes. Decoding expects those bytes to be valid UTF-8.
Is the text uploaded?
No. Encoding and decoding stay in this browser.