64

Base64 Encoder/Decoder

Encode and decode Base64 strings. Supports text and UTF-8 content.

Base64 encoderBase64 decoderencode Base64decode Base64
Plain Text
Base64 Encoded
Encoding Ratio:
Size Change:

What is Base64 Encoder/Decoder?

Base64 Encoder/Decoder converts text and binary data to and from Base64 encoding. Base64 is a binary-to-text encoding scheme that represents binary data in ASCII format, commonly used for embedding images in HTML, sending email attachments, and transmitting data over text-based protocols.

Common Use Cases

Email Attachments

Understand how email systems encode attachments using Base64.

Data URIs

Convert small images to Base64 for embedding in HTML/CSS.

API Payloads

Encode binary data for JSON API request bodies.

JWT Tokens

Decode the Base64-encoded parts of JWT tokens for inspection.

How to Use This Tool

  1. Paste your text or Base64-encoded string
  2. Click "Encode" to convert text to Base64
  3. Click "Decode" to convert Base64 back to text
  4. Copy the result for use in your project