Encode UTF-8 text as Base64 or decode validated standard Base64 back to text.
n Inputs are processed locally by this tool. Other site plugins, hosting logs, ads and embeds have their own data handling. Text limit: 1 MiB UTF-8.
How to use UTF-8 Base64 Encoder & Decoder
- Choose the operation.
- Paste plain text or standard Base64.
- Run and review the output; keep confidential content out of public places.
Example
Hello encodes as SGVsbG8=. Punjabi text and emoji round-trip as UTF-8.
Method and formula
TextEncoder produces UTF-8 bytes for encoding. Decoding validates the standard alphabet, padding and canonical padding bits, then uses a strict UTF-8 TextDecoder. Whitespace in Base64 input is ignored.
Limits and supported input
Base64 is an encoding, not encryption: anyone can decode it. Binary bytes that are not valid UTF-8 are rejected. This tool expects padded standard Base64, not base64url.
Privacy
This tool processes the input in your current browser tab. It does not upload your input or call a paid or remote API. Copying places text on your system clipboard; downloading saves a file on your device. Site hosting logs, analytics, ads, third-party embeds and other installed plugins are separate and can have their own data handling. JavaScript is required for the tool, while this explanation remains available without it.
Frequently asked questions
Is encoded text private?
No. Base64 does not hide information.
Can I decode an image file?
This is a text tool and rejects bytes that are not valid UTF-8.
