All Developer

Base64 Encoder and Decoder

Encode text to Base64 or decode it back.

base64.local
Result
The Base64 will appear here.

How to use it

  1. Choose Encode or Decode.
  2. Type or paste your text or Base64.
  3. Copy the result.

About this tool

This tool encodes text to Base64 or decodes Base64 back to text. Text is treated as UTF-8, so accented characters and emoji survive the round trip, and decoding rejects input that is not valid Base64 instead of producing garbage. Base64 is an encoding, not encryption, so it keeps nothing secret. It only makes content safe to store or send as plain text.

Examples

InputHello, to encode
OutputSGVsbG8=
InputSGVsbG8=, to decode
OutputHello

Common uses

  • Encode a value for a data URL or token
  • Decode a Base64 string to read it
  • Move binary safe text through text only systems
  • Inspect a Base64 payload

FAQ

Is my input uploaded?
No. Encoding and decoding happen in your browser. Nothing is sent anywhere.
Does it handle Unicode and emoji?
Yes. Text is treated as UTF-8, so accented characters and emoji encode and decode correctly.
What if I paste invalid Base64?
Decoding shows a clear error instead of failing silently, so you know the input was not valid Base64.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/base64/" title="Base64 Encoder and Decoder by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/base64/" target="_blank" rel="noopener">Base64 Encoder and Decoder</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>