Skip to main content
Utilz Utilz

Base64 Encoder / Decoder

Encode and decode Base64 strings with UTF-8 support

Drop a file here or click to select — converts to Base64

Why Use This Tool?

  • Encode or decode Base64 strings instantly in your browser -- no server upload needed.
  • Full UTF-8 support handles any language, emoji, or special character without errors.
  • No signup, no ads blocking results -- just paste, convert, and copy.

How It Works

Base64 encoding converts every 3 bytes of input into 4 ASCII characters using a 64-character alphabet (A-Z, a-z, 0-9, +, /). This results in approximately 33% size increase. Padding with = characters is added when the input length is not a multiple of 3.

How to Use

  1. Enter or paste your text into the input area
  2. Click Encode to convert to Base64 or Decode to convert from Base64
  3. Copy the result to your clipboard

FAQ

What is Base64 encoding?

Base64 encoding converts binary data into ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It is commonly used to embed data in URLs, emails, and JSON.

Does this tool support Unicode and non-English text?

Yes, this tool uses TextEncoder/TextDecoder to properly handle UTF-8 text, including Chinese, Japanese, Korean, emoji, and other non-ASCII characters.

Is Base64 encoding the same as encryption?

No. Base64 is an encoding scheme, not encryption. Anyone can decode Base64 without a key. It is not secure for hiding sensitive data.

Why does Base64 increase the data size?

Base64 uses 4 characters to represent every 3 bytes of data, resulting in approximately 33% larger output. This overhead is the tradeoff for ASCII-safe representation.

Is Base64 encoding the same as encryption?

No. Base64 is an encoding scheme, not encryption. It converts binary data to text for safe transmission but provides no security. Anyone can decode Base64 text instantly.

Related Tools

URL Encoder/Decoder

Encode and decode URLs

Password Generator

Generate secure passwords

Markdown Editor & Preview

Edit and preview Markdown

2048 Game

Merge tiles to reach 2048

Calorie Calculator

Calculate daily calorie needs