Text becomes bytes, then Base64
Encode text turns UTF-8 bytes into a compact alphabet of letters, digits and a few symbols. For example, Hello becomes SGVsbG8= in standard Base64.
SAME TEXT. A DIFFERENT REPRESENTATION.
Turn text into Base64, or bring it back.
Your content stays in this browser.
Standard encoding includes = padding. Standard decoding requires complete padding.
Up to 100,000 characters. Some symbols count as two toward the limit.
Choose an alphabet, then encode or decode.
No accounts. No uploads. No saved inputs.
MAKE THE FORMAT FIT
Encode text turns UTF-8 bytes into a compact alphabet of letters, digits and a few symbols. For example, Hello becomes SGVsbG8= in standard Base64.
Decode Base64 checks the alphabet and padding, then reads the decoded bytes as UTF-8. Binary data, such as an image file, is not supported by this text-only tool.
Standard Base64 uses + and /. URL-safe Base64 uses - and _ instead. This tool omits trailing = when URL-safe encoding; its URL-safe decoder accepts padded or unpadded input.
Base64 does not encrypt or hide information. Anyone can decode it. Use it when a destination expects encoded text, not to protect a password or private message.
Check the alphabet, the final padding, and the whitespace option. Standard Base64 requires groups of four characters with any needed = padding. We also reject nonzero unused padding bits instead of silently accepting a non-canonical spelling.
When the decoding option is on, ASCII spaces, tabs, line breaks, carriage returns and form feeds are ignored. Other characters are checked strictly. Encoding always preserves your original whitespace as part of the text.
Yes. Text is encoded as UTF-8, so one visible character can use several bytes. Incomplete Unicode characters are rejected. Decoding requires valid UTF-8 and preserves a byte-order mark if one is present.
No. Output is shown as plain text. This tool does not visit URLs, render HTML, or execute decoded content. Use as input simply copies the result into the input editor so you can perform another explicit conversion.
Your input and output stay in this browser tab and are cleared on refresh. This page has no analytics, advertising scripts, accounts or external libraries. The hosting provider may process connection information to serve and secure the site. Any future advertising and required consent controls will be disclosed before it is enabled.