TR

Home / Web & Developer / Base64 Encode/Decode

🧩 Base64 Encode/Decode

Encode text to Base64 or decode it from Base64 (UTF-8 supported).

WhatsAppTelegramX

Not an official institution.

Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy

What is Base64 Encode/Decode?

Base64 is an encoding method that converts binary data, or text containing special characters, into plain text made up only of letters, digits, and a few symbols. You come across it in many places, such as email attachments, small files carried inside JSON, data URLs, and API credentials.

With this tool you can encode text to Base64 or decode Base64 text. UTF-8 is supported, including Turkish characters; that is, letters like “şğüıöç” are encoded and decoded correctly. Everything is done entirely in your browser.

An important note: Base64 is not encryption. It does not hide the data; it only converts it to a different format, and anyone can decode it. Do not use this method for security purposes to protect information such as passwords or secret keys.

How to use

Select the operation and paste the text.

Formula

RFC 4648 Base64

Example

Merhaba → TWVyaGFiYQ==

Worked examples and tips

Example 1: When you enter the text Merhaba Türkiye with the encode option, the result is TWVyaGFiYSBUw7xya2l5ZQ==. Since Turkish characters are processed as UTF-8, the letter ü is also encoded correctly.

Example 2: You saw the value SGVsbG8gV29ybGQ= in API documentation. When you paste it with the decode option, the result comes out as Hello World. This is often used to read simple text that appears hidden in email headers or configuration files.

Example 3: In HTTP Basic authentication, the username and password are joined with a colon and Base64-encoded. Encoding the text kullanici:parola gives a3VsbGFuaWNpOnBhcm9sYQ==. This example is only to show the format; do not use it to test real passwords.

Tips and common mistakes: Base64 is not encryption, just an encoding; anyone can reverse it, so do not use it to protect secret information. If the result of decoding consists of meaningless characters, the text may be in another encoding or may be binary data. The equals signs you see at the end are padding; do not delete them, because some decoders give an error if they are missing. When pasting, make sure no line breaks or extra spaces are added. The operation is done in your browser and your data does not leave your device.

When to use it? It is a simple and fast tool you can turn to when you want to embed an image or a small piece of data into text during web development, decode headers in API requests, read the raw form of email attachments, or understand an encoded value in a configuration file.

Frequently asked questions

Is Base64 encryption?

No, it is only encoding.

Related guide

Related tools

{ }JSON Formatter / MinifierValidate, neatly format, or minify JSON.🔗URL Encode/DecodeEncode text to be URL-safe, or decode encoded text.#️⃣SHA Hash Generator (SHA-1/256/384/512)SHA Hash Generator (SHA-1/256/384/512) – get instant, free results right on your device.🪪JWT DecoderJWT Decoder – get instant, free results right on your device.🔍Regex TesterRegex Tester – get instant, free results right on your device.🏷️HTML Entity Encode/DecodeHTML Entity Encode/Decode – get instant, free results right on your device.