🔄 Base64 Encoder & Decoder
Encode text, URLs, and images to Base64 — or decode Base64 back to plain text instantly
📝 Text Encoder / Decoder
🌐 URL-Safe Base64
Standard Base64 uses + and / which are unsafe in URLs. URL-safe Base64 replaces them with - and _.
🖼️ Image to Base64
📁 Click to upload an image (PNG, JPG, GIF, SVG)
Max 2MB — processed locally, never uploaded
❓ Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to embed images in HTML/CSS, encode email attachments, and transmit data in APIs that only support text.
Is Base64 encryption?
No. Base64 is encoding, not encryption. It's easily reversible and provides no security. Never use Base64 to "hide" sensitive data — use proper encryption like AES instead.
When should I use URL-safe Base64?
Use URL-safe Base64 when embedding Base64 data in URLs, query parameters, or JWT tokens. Standard Base64 uses + and / which have special meanings in URLs.
Why does Base64 increase file size?
Base64 encoding increases data size by approximately 33% because it represents every 3 bytes of binary data as 4 ASCII characters. This is a trade-off for text compatibility.