Base64 Encoder / Decoder – Encode & Decode Online
0 characters
Calcon's free Base64 Encoder/Decoder converts text or files to Base64 and back instantly. Supports Unicode input, URL-safe Base64, and file uploads. All processing happens in your browser — nothing is sent to a server.
Base64 Character Set
| Characters | Count | URL-safe |
|---|---|---|
| A–Z | 26 | Same |
| a–z | 26 | Same |
| 0–9 | 10 | Same |
| + | 1 | - |
| / | 1 | _ |
| = (padding) | — | Omitted |
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It is used to safely transmit binary data over channels that only support text — such as embedding images in HTML, JSON payloads, or email attachments (MIME).
What is URL-safe Base64?
Standard Base64 uses + and / characters that have special meaning in URLs. URL-safe Base64 replaces + with - and / with _, and typically removes padding = characters. This makes the encoded string safe to use in URLs, query parameters, and filenames without percent-encoding.
Does Base64 compress data?
No — Base64 expands data. Every 3 bytes of input produce 4 characters of output, increasing size by approximately 33%. It is an encoding scheme, not a compression scheme. For compression, use gzip or deflate before Base64 encoding.
What are common uses of Base64?
Common uses include: embedding images inline in CSS or HTML (data: URIs), encoding binary file attachments in email (MIME), passing binary data in JSON APIs, storing binary blobs in databases that only support text, and encoding credentials in HTTP Basic Auth headers.
Related Developer Tools
Bcrypt Hash Generator
Generate and verify bcrypt hashes in your browser.
Border Radius Generator
Generate CSS border-radius visually with live preview.
Box Shadow Generator
Generate CSS box shadows visually with live preview.
Color Palette Generator
Create harmonious color palettes from any color.
Color Picker
Pick colors and get HEX, RGB, HSL, CMYK instantly.
CSS Formatter / Beautifier
Format and beautify CSS code instantly.
CSS Gradient Generator
Generate linear, radial, and conic CSS gradients visually.
CSS Minifier
Minify CSS code instantly in browser.
CSS to SCSS Converter
Convert flat CSS to idiomatic nested SCSS instantly.
HEX to RGBA Converter
Convert HEX colors to RGB/RGBA instantly.




