Base64 Encoder / Decoder

Convert text to Base64 and back. Supports Unicode and URL-safe Base64.

What is Base64?

Base64 is an encoding that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It is widely used to embed images in HTML/CSS, send attachments in email, and pass data in JSON or HTTP headers such as Basic Authentication.

URL-safe Base64

URL-safe Base64 replaces + with - and / with _, and usually drops the trailing = padding. It is used in JWT tokens and URLs.

Note: Base64 is an encoding, not encryption — anyone can decode it.

Related tools