Base64 Encode/Decode

Encode text to Base64 or decode Base64 back to text.

What is Base64 Encode/Decode?

Base64 Encoder/Decoder converts text to Base64 encoding and back. Base64 is used for embedding images in CSS, encoding email attachments, and transmitting binary data through text-only channels. The tool auto-detects whether your input is Base64 or plain text.

How to use this tool

  1. Paste your text or Base64 string.
  2. Click Process — the tool detects the input type automatically.
  3. If plain text: see the Base64 encoded version.
  4. If Base64: see the decoded text and detected content type.
  5. Copy the result for use in your code or configuration.

Frequently asked questions

What is Base64 encoding?
A way to represent binary data using only 64 ASCII characters (A-Z, a-z, 0-9, +, /). It's used when you need to transmit binary data through systems that only handle text, like email or JSON.
Why does Base64 make data larger?
Base64 encodes 3 bytes of data into 4 characters, increasing size by about 33%. This overhead is acceptable for small data like API tokens but not ideal for large files.
When should I use Base64?
Embedding small images in CSS/HTML (data URIs), encoding API authentication credentials, transmitting binary data in JSON, and email attachments (MIME encoding).
Is Base64 encryption?
No. Base64 is encoding, not encryption — anyone can decode it. Never use Base64 to protect sensitive data. Use proper encryption (AES, RSA) for security.

Related tools

Need a place to build your project?

Launch a cloud workspace with Claude Code. Your AI builds it, we host it.

Start for $5/month