Webtools

Base64 Encoder

Encode and decode Base64 strings

About the Base64 Encoder / Decoder

Base64 is an encoding scheme that converts binary data into a text string using 64 ASCII characters. It's widely used to safely transmit binary data over text-based protocols, embed images in HTML or CSS, and encode credentials in HTTP Basic Authentication headers.

This encoder supports the full Unicode character set, not just ASCII — it handles emoji, accented characters, and any other UTF-8 text correctly. Common uses include encoding email attachments, embedding small images as data URIs, inspecting encoded tokens and credentials, and preparing data for APIs that require Base64 input.

Frequently asked questions

Is Base64 encryption?
No — Base64 is an encoding, not encryption. The original data can be recovered by anyone with no key. Don't use it to hide secrets; use it only to make binary data text-safe.
Why does the encoded output sometimes end with =?
Padding. Base64 encodes data in 3-byte groups. If the input length isn't a multiple of 3, one or two = characters are appended so the output length stays a multiple of 4.

Related tools

URL Encoder
URL encode and decode strings
JWT Decoder
Decode JWT tokens and inspect header, payload, and signature
UUID Generator
Generate UUIDs v4 and v7 in bulk
Hash Generator
Compute MD5, SHA-1, SHA-256, and more
Browse other categories: Word Tools· Number Tools· Text Tools· Converters· Color Tools· Time Tools· Random Generators