Tool Forge
Free
Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 back to text. Supports URL-safe variant. Everything runs in your browser — nothing is sent to any server.
Text Input
0 B
No file selected
Base64 Output
0 B
—
Input Size
—
Output Size
—
Size Ratio
—
Lines
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as a sequence of printable ASCII characters. It is widely used in web development and data transmission.
Common Use Cases
- Email attachments — MIME encoding for sending binary files over text-based email protocols
- Data URIs — Embedding images directly in HTML or CSS using
data:URLs - API payloads — Transmitting binary data within JSON payloads
- Authentication — HTTP Basic Authentication encodes credentials in Base64
- Cookies & URLs — Storing complex data structures in cookies or query parameters
Standard vs URL-safe Base64
Standard Base64 uses A-Z, a-z, 0-9, +, and / with = padding. URL-safe Base64 replaces + with - and / with _, and removes padding. This makes it safe for URLs and filenames.
Find these tools useful?
Get one short weekly dispatch with new tools, guides, and what we tested. No spam, unsubscribe anytime.