⚡ Instant — No Signup Required

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text. Supports URL-safe encoding. 100% client-side.

Input — Plain Text

Output — Base64

How It Works

🔄

Bidirectional

Encode text to Base64 or decode Base64 back to plain text with one click.

🔗

URL-Safe Mode

Enable URL-safe encoding that replaces + with - and / with _ for use in URLs.

📦

No Size Limit

Process any amount of text — everything runs in your browser with no upload limits.

🔐

100% Private

Your data never leaves your browser. No server-side processing, no logging.

FAQ

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used in email attachments, data URIs, API authentication tokens, and embedding binary data in text formats like JSON or XML.

Is Base64 encryption?

No. Base64 is encoding, not encryption. It doesn't provide any security — anyone can decode a Base64 string. It's used for data transport, not data protection.

What is URL-safe Base64?

Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe Base64 replaces + with - and / with _ to make the encoded string safe for use in URLs and filenames.

Why does Base64 increase size?

Base64 encodes 3 bytes into 4 characters, resulting in approximately 33% size increase. This is the tradeoff for being able to represent binary data as text.