Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 and Base64URL strings directly in your browser. Choose a mode, convert, and copy the result.
On this page
Choose encode or decode
Use Encode when you have normal text and need a Base64 string. Use Decode when the value is already Base64 and you want the text back. The Standard Base64 option uses the usual alphabet with +, /, and padding with =. Base64URL uses - and _ instead, and leaves the padding off.
Text, bytes, and the result
The encoder reads text as UTF-8 before turning it into Base64, so the result is not limited to plain English letters. The decoder removes whitespace and other characters outside the selected Base64 alphabet before checking the remaining value, so it is not a strict malformed-input validator. The copy button copies the converted value, while Reset clears both fields.
Base64 is an encoding format, not encryption. It changes how data is written, but it does not make the data secret. Anyone with the encoded value can decode it.