Base64 Encode and Decode
Base64 Encode and Decode turns text into Base64 and back again, including accents, emoji and other scripts. It runs in your browser, so nothing is sent.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Base64 Encode and Decode online
- Choose the direction. Pick text to Base64, or Base64 to text.
- Paste your input. Put the text or the Base64 in the box.
- Pick the letters. When encoding, tick URL-safe letters if the result goes into a link or a token.
- Copy the result. Press Copy. An error message tells you if the Base64 is not valid.
Why use this free Base64 Encode and Decode
- Encode and decode
- UTF-8: accents and emoji work
- URL-safe option
- Accepts line breaks and missing padding
- Clear error messages
- Nothing sent, nothing stored
What Base64 is for
Base64 writes any bytes using only letters, digits, plus and slash. That makes it possible to put binary data or special characters into places that accept plain text only, such as e-mail bodies, JSON fields and addresses. It is an encoding, not a lock: anyone can decode it, so never use it to hide a secret.
Text and UTF-8
Text is first turned into bytes with UTF-8, which handles every script. That is why accents, emoji and Hindi text survive the round trip. The word Hello becomes SGVsbG8=. When decoding, the bytes are read as UTF-8, and if they are not valid text, the tool says so.
The URL-safe form
Standard Base64 uses plus and slash, which have special meanings in links. The URL-safe form uses a hyphen and an underscore instead and drops the equals padding. The text ??>> is Pz8-Pg in that form. The decoder accepts both forms and ignores line breaks and spaces.
Limits
This page handles text. It does not take files. Very long text is fine but uses more memory. If decoding fails, check for a stray character or a missing piece at the end.
Base64 Encode and Decode: frequently asked questions
Is Base64 encryption?
Why do accents and emoji work?
What is URL-safe Base64?
Why does decoding say the bytes are not text?
Does it accept line breaks?
Does my text leave the page?
Related searches for Base64 Encode and Decode
- Base64 Encode and Decode online
- free Base64 Encode and Decode
- Base64 Encode and Decode online free
- Base64 Encode and Decode for mobile
- Base64 Encode and Decode without sign up
- Base64 Encode and Decode – Text & Developer Tools
Base64 Encode and Decode is a free online tool on MAITBOX, in the Text & Developer Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.