Tools / Base64

Base64.

Encode and decode Base64 strings.

About Base64 Encoder/Decoder

Base64 is a binary-to-text encoding scheme that represents binary data as printable ASCII characters. It is widely used in email attachments (MIME), data URIs in HTML/CSS, JSON Web Tokens, and API authentication headers. This tool lets you encode any text to Base64 or decode Base64 back to its original form. All processing happens locally in your browser — nothing is stored or transmitted.

How to Use

  1. Paste or type your text into the input field.
  2. Click "Encode" to convert text to Base64, or "Decode" to convert Base64 back to text.
  3. Copy the result from the output field.

Key Features

  • Encode any UTF-8 text to Base64
  • Decode Base64 strings back to plain text
  • Instant results with no page reload
  • No data sent to external servers

Common Use Cases

  • Encoding binary data for email attachments
  • Creating data URIs for inline images in HTML/CSS
  • Debugging API authentication headers
  • Working with JWT token payloads

Frequently Asked Questions

What is Base64 encoding?

Base64 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format. It uses 64 printable characters (A-Z, a-z, 0-9, +, /) plus = for padding.

Is Base64 encryption?

No. Base64 is an encoding, not encryption. It does not provide any security — anyone can decode a Base64 string. Use it for data transport, not for protecting sensitive information.

Why is Base64-encoded data larger?

Base64 encoding increases data size by approximately 33% because it represents 3 bytes of binary data as 4 ASCII characters.

Is my data safe with this tool?

Yes. All encoding and decoding happens server-side within your session. No data is stored or logged.

Related Tools