Encode and decode Base64 text directly in your browser.
The Base64 Encoder/Decoder converts binary data to and from Base64 text encoding. Base64 represents binary bytes using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /), making binary data safe to transmit through text-based protocols like email (MIME), JSON, and URLs. Common uses: embedding small images directly in CSS or HTML as data URIs, transmitting binary API payloads in JSON, encoding authentication credentials in HTTP Basic Auth headers, and storing binary data in text fields.
No. Base64 is a reversible encoding scheme, not encryption. It does not require a key and anyone can decode it instantly. Do not use it to 'hide' sensitive information.
= is padding. Base64 encodes every 3 bytes of input as 4 characters. If the input isn't a multiple of 3 bytes, = signs pad the output to make it a multiple of 4 characters. One = means 1 padding byte; == means 2.
Standard Base64 uses + and / which are special characters in URLs. URL-safe Base64 replaces + with - and / with _ so the encoded string can be safely included in a URL or filename. JWT tokens use URL-safe Base64.