Base64 Decode and Encode | Authgear

Base64 Decode & Encode

Easily decode or encode Base64 strings directly in your browser.

How the Tool Works

Step 1.

Choose a character set

Step 2.

Encode plain text

Step 3.

Decode Base64

What Is Base64 Encoding?

Base64 is a binary to text encoding format that represents binary data using ASCII characters. It allows binary content to be included safely inside formats such as JSON, XML, or HTTP headers.

Example: Authgear → QXV0aGdlYXI=

What Is the Difference Between Base64 and Base64URL?

Base64URL is a version of Base64 designed for URLs and token formats. It replaces the characters + with - and / with _, and padding characters (=) are often removed for URL safety. This format is commonly used in JWTs, OAuth tokens, and OpenID Connect.

Want a deeper walkthrough of how Base64 works and when to use it? Read our Base64 encode & decode guide.