Base64 Encode / Decode
Encode plain text or binary data to Base64, or decode Base64 strings back to plain text. Supports standard and URL-safe alphabets.
Advertisement
Plain Text
chars: 0
| bytes: 0
Base64
chars: 0
| Size ratio: —
Advertisement
Frequently Asked Questions
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A–Z, a–z, 0–9, +, /). It is commonly used to embed binary data (images, files) in text formats like JSON, XML, or email.
What is URL-safe Base64?
Standard Base64 uses + and / characters, which are reserved in URLs. URL-safe Base64 replaces + with - and / with _, making it safe to use in URLs without percent-encoding.
Does Base64 compress data?
No — Base64 increases data size by approximately 33%. It is an encoding scheme, not a compression algorithm.