Encoders / Decoders

Base64 Encoder / Decoder

Encode bytes to Base64 or decode Base64 back to text.

Input

Output

(output)

About this tool

Base64 represents binary data using 64 printable characters (A-Z, a-z, 0-9, +, /). Common in data URIs, JWT, email attachments and APIs that can't safely transmit binary.

FAQs

Why does Base64 add 33% to size?

Every 3 bytes of input become 4 ASCII characters. 4/3 ≈ 1.33.

What's URL-safe Base64?

Uses '-' and '_' instead of '+' and '/'. Useful in URLs and JWT tokens.

Is Base64 encryption?

No - it's encoding, not encryption. Anyone with the encoded string can decode it instantly.

Other tools