Base64 Encoder

Convert text to Base64 encoded format

Beth yw Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It converts binary data into a set of 64 printable characters (A-Z, a-z, 0-9, +, and /), with = used for padding.

How Does Base64 Work?

Base64 encoding works by taking groups of three bytes (24 bits) of binary data and splitting them into four groups of six bits each. Each 6-bit group is then mapped to one of 64 printable ASCII characters.

Why Use Base64 Encoding?

Base64 encoding is essential in many areas of software development. It is used to embed images in HTML/CSS, transmit binary data over text-based protocols like email (MIME) and HTTP, store data in JSON/XML formats, and encode authentication credentials.