Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings online, with UTF-8 support. Convert plain text to Base64 or decode a Base64 string back to text. UTF-8 characters are supported. Base64 is an encoding format, not encryption.
Input and options
Ready. Results update as you type.
Result
How to Use the Base64 Encoder / Decoder
- Enter or paste your input in the text area, or choose an available input control.
- Select the conversion or formatting options that match your task.
- Review the result and the status message for errors or confirmation.
- Use Copy result or Download .txt to save the output.
About the Base64 Encoder / Decoder
Convert plain text to Base64 or decode a Base64 string back to text. UTF-8 characters are supported. Base64 is an encoding format, not encryption.
This free developer utility is designed for desktop, tablet and mobile screens. It uses the MohakTools centralized theme styles and shared site header and footer scripts.
Common questions about Base64 Encoder/Decoder
Is Base64 encryption?
No. Base64 is an encoding scheme and does not protect confidential data.
Does it support Unicode?
Yes. The tool encodes and decodes UTF-8 text.
What is URL-safe Base64?
It uses hyphens and underscores instead of plus and slash, and commonly omits padding.
Can I decode data that contains line breaks?
Yes. Whitespace and newlines are ignored while decoding, which matters because many systems wrap Base64 output at 64 or 76 characters.
Why does the output end with one or two equals signs?
Those are padding. Base64 works in groups of three bytes, and = fills out an incomplete final group so the length stays a multiple of four.
Is there a size limit?
Very large inputs are limited by browser memory rather than by the tool. A few megabytes is comfortable.
Explore Related Tools
Continue with other MohakTools developer utilities.
Privacy note: processing runs in your browser. Avoid entering confidential data on shared or untrusted devices.