Base64 Encode Decode
Encode text to Base64 or decode Base64 back to readable text with the free Base64 converter. It handles UTF-8, symbols and emoji correctly, all in your browser.
What is Base64 Encode / Decode?
Base64 is an encoding that changes how data is represented, not how it is protected. It takes binary information and maps it to 64 printable characters so the bytes can travel through text-only systems: JSON fields, APIs, email attachments, JWTs and the data URLs that embed small images directly in HTML or CSS. Under the hood it groups every three input bytes into four characters from a fixed alphabet, padding the end with “=” signs when the length is not a multiple of three. Encoding text to Base64 is not encryption — anyone can decode it back without a key — but it is indispensable for moving data safely and for embedding files where a raw byte stream would break. This converter encodes and decodes using UTF-8, so letters, accented characters, symbols and emoji all round-trip correctly, and it runs entirely in your browser, so your input never reaches a server.
How to use Base64 Encode / Decode
- Type or paste your text into the input box.
- Click “Encode” to turn text into Base64, or “Decode” to turn Base64 back into readable text.
- Copy the result from the output box.
Example
Input: Hello World Encode → SGVsbG8gV29ybGQ= Decode → Hello World Notice the trailing “=”, which is padding because “Hello World” is eleven bytes — not a multiple of three.
Common use cases
- Embedding a small image or file in HTML or CSS using a data URI.
- Passing binary data through JSON, a query string or an API payload.
- Storing a token or a blob in a text-only field or a log file.
- Sharing a snippet in a format that will not be corrupted by plain-text editors.
Pro tips
- Remember Base64 is not encryption — do not use it to protect a secret.
- Encode UTF-8 first if your text has accented letters or emoji, then encode the bytes.
- For a URL, use the URL-safe alphabet, which swaps + and / for - and _ so the value needs no escaping.
FAQ
What is Base64?
Base64 is an encoding that represents binary data using 64 printable characters, so bytes can travel through text-only systems.
Is it UTF-8 safe?
Yes. It encodes and decodes using UTF-8, so letters, symbols and emoji are handled correctly.
Is Base64 encryption?
No. It is encoding, not encryption — anyone can decode the value back without a key.
How do I decode Base64?
Paste the Base64 string into the input and click Decode; the readable text appears in the output box.
Why does Base64 end with = ?
That is padding, added to complete the final group of four characters when the input length is not a multiple of three.
What is Base64 used for?
Data URLs, JWTs, email attachments, and passing binary data through JSON, URLs or APIs.
Is it private?
Yes. Everything runs in your browser and nothing is uploaded or stored.
Is Base64 bigger than my original?
Yes. Base64 output is roughly a third larger than the original bytes.
Related searches
base64 encode, base64 decode, base64 converter, base64 to text, text to base64, base64 online, base64 encoder decode, base64 url encoder
Related tools
- Base64 URL EncoderFree base64 URL encoder. Convert text into URL-safe base64 instantly in your browser — no padding, no + or / c…
- HTML Entity EncoderFree HTML entity encoder and decoder. Convert text to safe HTML entities or back to plain text, instantly in y…
- Text to Binary ConverterConvert text to binary and back instantly. Turn any words into ASCII binary (0s and 1s) or decode binary to re…
- Punycode ConverterFree punycode converter. Turn a Unicode domain into its xn-- form, or decode it back to readable Unicode — ins…
- CSV to TSV Converter OnlineConvert CSV to TSV and back online for free. Paste CSV or TSV, pick the direction, convert and download. Priva…
