Base64 Encoder & Decoder

Encode text or images to Base64, or decode Base64 strings back to text. Runs entirely in your browser — nothing is uploaded.

Input

0 chars

Output

0 chars

Common use cases

Where Base64 shows up in everyday development work.

Email attachments

MIME encodes binary attachments in Base64 so any mail server can relay them as plain text.

Inline images

Embed small icons or logos directly in HTML or CSS via data: URIs to skip an extra HTTP request.

API tokens & auth

Basic auth headers and JWT segments encode credentials and payloads as URL-safe Base64.

Data URIs in CSS

Background images, fonts, and SVG sprites can be inlined as Base64 to ship as a single asset.

Frequently asked questions