Skip to content
ToolSMA

Base64 Encoder / Decoder

Convert text to Base64 and back with full Unicode (UTF-8) support. You can also turn any file or image into a Base64 data URI for embedding in HTML or CSS.

How to use the Base64 Encoder / Decoder

  1. Choose Encode or Decode.
  2. Paste text or select a file.
  3. Copy the output.

What is Base64?

Base64 represents binary data using 64 printable ASCII characters. It increases size by about 33% and is used in email attachments, data URIs, JSON payloads and HTTP basic authentication. It is an encoding, not encryption.

Frequently asked questions

What is URL-safe Base64?

It replaces + with - and / with _ and removes = padding so the result can be used in URLs.

Is Base64 secure?

No. Anyone can decode it. Never use it to protect secrets.