Skip to content
Tooldict

Base64 Encode / Decode

Encode text into Base64 or decode a Base64 string back into readable text. Full UTF-8 support is included.

Result

About

Base64 is an encoding used to carry binary data safely over text-only channels such as email, JSON and data URIs. It does not encrypt the data; it simply re-encodes it for safe transport.

This tool both encodes and decodes and handles multi-byte UTF-8 characters correctly. Everything runs in your browser — the data you enter is never sent to a server.

How to use

  1. Choose the Encode or Decode tab.
  2. Paste your text or Base64 string into the box.
  3. The result appears instantly — copy it.

Where is it used?

Example
The text “Hello” encodes to “SGVsbG8=” in Base64.
Data URIs
Embed small images directly in HTML/CSS with data:image/png;base64,…
Basic authentication
HTTP Basic Auth encodes the user:password pair in Base64 in the header.
Not encryption
Base64 is trivially reversible; it provides no security for secret data.

Frequently Asked Questions

Is Base64 a form of encryption?
No. Base64 is only an encoding and is trivially reversible; it provides no security for sensitive data.
Does it handle Unicode correctly?
Yes. It uses UTF-8, so accented and non-Latin characters round-trip exactly when encoded and decoded.

Other tools

Embed this tool

Copy the code below and paste it into your site's HTML to embed this tool for free. The snippet includes an attribution link back to the source.

<iframe src="https://tooldict.com/embed/en/base64-encode-decode" title="Base64 Encode / Decode" width="100%" height="600" style="border:1px solid #e2e8f0;border-radius:16px;max-width:680px" loading="lazy"></iframe>
<p style="font:13px/1.5 sans-serif">Powered by <a href="https://tooldict.com/en/base64-encode-decode" target="_blank" rel="noopener">Base64 Encode / Decode</a> — Tooldict</p>