πŸ” encrypt.toolsALL TOOLS
BASE64 Β· RFC 4648

Base64 Encode & Decode Online

Encode and decode Base64, with URL-safe variant.

FIELD NOTES

About this tool

Base64 maps every 3 bytes to 4 ASCII characters so binary data can travel through text-only channels β€” email, JSON, data URLs, JWTs. This tool encodes and decodes live with correct UTF-8 handling, including the URL-safe alphabet (- and _ replacing + and /).

Like everything on encrypt.tools, this runs entirely in your browser β€” nothing you enter is transmitted or stored.

FREQUENTLY ASKED

Frequently asked questions about Base64

What is Base64 used for?+

It encodes binary data as text so it can travel through text-only channels β€” email attachments, JSON, data URLs, and JWTs. Every 3 bytes become 4 ASCII characters.

What is Base64URL?+

A URL-safe variant that replaces + and / with - and _ and drops padding, so the result is safe in URLs and filenames. JWTs use it.

Does it handle Unicode and emoji?+

Yes β€” text is encoded as UTF-8 first, so any Unicode, including emoji, round-trips correctly.

RELATED INSTRUMENTS