Text is converted as UTF-8, so accented letters, symbols, and emoji encode and decode correctly instead of breaking.
Developer
Base64 Encoder / Decoder
Turn text into Base64 or decode Base64 back into readable text. It handles accents and emoji correctly and understands URL-safe Base64.
Paste some text and choose Encode, or paste Base64 and choose Decode.
Base64 that works with real-world text.
Developers use Base64 to move data through systems that only accept plain text: email, JSON, URLs, HTTP headers, and config files.
Switch on URL-safe to swap + and / for - and _ and drop the padding, the form used in JWTs and web addresses. Decoding accepts either form.
Line breaks, spaces, missing padding, and a leading data: prefix are all handled, so pasted Base64 usually just works.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not a way to protect data. Anyone can decode it instantly, so never rely on it to hide passwords or secrets.
Why does my Base64 end with = signs?
Base64 works in groups of three bytes. When the data does not fill the last group, one or two = characters pad it out. The URL-safe form usually leaves them off.
Why is the encoded result bigger?
Base64 represents every three bytes as four characters, so the output is about a third larger than the input.
Can I decode an image or a file?
This tool shows text. If the Base64 decodes to something that is not text, such as an image, it tells you so rather than showing garbled characters.
