Base64 Encoder & Decoder — Encode or Decode Text Online

Encode text to Base64 or decode Base64 back to plain text instantly. Runs entirely in your browser — nothing is sent to a server.

Input
Output

Frequently Asked Questions

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It converts every 3 bytes of input into 4 printable characters, making it safe to transmit binary data through text-only channels like email or JSON.

When should I use Base64 encoding?

Base64 is commonly used to embed images in HTML or CSS via data URIs, transmit binary data in JSON or XML payloads, encode email attachments (MIME), and store small binary blobs in text-based configuration files.

Is Base64 encryption?

No. Base64 is an encoding, not encryption. It does not protect data — anyone can decode a Base64 string without a key. If you need to secure data, use proper encryption algorithms like AES. Base64 is only meant to make binary data safe for text transport.

What characters does Base64 use?

Standard Base64 uses 64 characters: uppercase letters A-Z, lowercase letters a-z, digits 0-9, plus (+), and forward slash (/). The equals sign (=) is used for padding. URL-safe Base64 replaces + with - and / with _ to avoid issues in URLs.

Related tools: URL Encoder / Decoder · JSON Formatter & Validator