Base64 Encoder/Decoder

Free online Base64 encoder and decoder. Convert text to Base64 or decode Base64 to plain text instantly. No upload required - ideal for APIs, data URI and web development.

Understanding Base64

What is Base64 Encoding?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It uses 64 characters (A-Z, a-z, 0-9, +, /) to encode data, making it safe for transmission over text-based protocols like HTTP, email (MIME), and XML.

Common Use Cases

Base64 is widely used for embedding images in HTML/CSS (Data URIs), encoding binary files in JSON payloads, storing authentication credentials (HTTP Basic Auth), encoding email attachments (MIME), and transmitting binary data through text-only channels.

Encoding vs Encryption

Important: Base64 is an encoding scheme, NOT encryption. It provides no security or confidentiality – anyone can decode Base64 data. For sensitive information, use proper encryption algorithms like AES or RSA before applying Base64 encoding.

Base64 Character Set
Range Characters
0-25 A-Z
26-51 a-z
52-61 0-9
62 +
63 /
Pad =

More Programming Tools

Developer Utility Toolkit