Base64 Encoder turns your text into Base64 code. Type or paste your text, click the button and copy the Base64. It is free and runs in your browser.
The quick brown fox jumps over the lazy dog.
VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4=
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool converts text into Base64. Base64 is a way of writing text or data using only letters, numbers, + and /, and it often ends with one or two = signs. It is used to send text safely through emails, web pages, tokens and configuration files that only handle plain text.
Type or paste your text and click the button. Text in any language and emoji work because the text is encoded as UTF-8 by default. You can also make the result URL-safe, which swaps + and / for - and _, and remove the = signs at the end.
Base64 makes text longer, by about a third, and it is not encryption. Anyone can decode it, so do not use it to hide secrets.
Unless an option is named, the text is encoded as UTF-8 and the result is standard Base64 with the = signs kept.
| Setting | Before | After |
|---|---|---|
| Sentence | The quick brown fox jumps over the lazy dog. | VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4= |
| Short text | Hello World | SGVsbG8gV29ybGQ= |
| Accents, UTF-8 | café | Y2Fmw6k= |
| Accents, UTF-8 off | café | Y2Fm6Q== |
| Emoji, UTF-8 | Hi 👋 | SGkg8J+Riw== |
| Two lines | Hello World | SGVsbG8KV29ybGQ= |
| URL-safe form | <<???>> | PDw_Pz8-Pg== |
| Remove the = signs | Hello | SGVsbG8 |
| URL-safe and no = signs | <<???>> | PDw_Pz8-Pg |
Sending text through systems that only accept plain characters, such as emails, URLs, JSON, tokens and config files, and for preparing test data.
Base64 is not encryption, so anyone can decode it, and you should not use it to protect passwords or private data. This tool runs in your browser and does not upload your text. It encodes text, not pictures or files.
To turn Base64 back into text, try Base64 Decoder. To encode a web address, try Url Encode. To convert HTML characters, try Html Entities Converter.
It converts your text into Base64 code.
Type or paste your text into the box and click Encode to Base64. The Base64 appears in the same box, and you can copy it with the Copy button.
Base64 is a way of writing text or data using only letters, numbers, + and /, so it can travel safely through systems that only handle plain text. It often ends with one or two = signs.
Yes. With Encode as UTF-8 text ticked, accents, other scripts and emoji are encoded correctly. If you untick it, only characters from the first 256 (Latin-1) can be encoded, and anything else shows a message.
It replaces + with - and / with _, which is the form used in web addresses and tokens.
They are padding, so the length fits the Base64 rules. Tick Remove the = signs at the end if you do not want them.
Base64 uses four characters for every three bytes of text, so the result is about a third longer.
Use the Base64 Decoder tool.
Base64 is not encryption, so it gives no protection. The tool is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 16 November 2026