Base64 Encoding

Check out the free encoder/decoder API

More Tools

Binary Converter

Convert numbers between binary, octal, decimal, and hexadecimal representations.

Go to Binary Converter

Subnet Calculator

Use the subnet calculator to calculate the network details of an IPv4 subnet. Use an IP address or CIDR block notation.

Go to Subnet Calculator

Security Tools

Check up on the security of your website or domain. Validate your SSL/TLS certificate.

Go to Security Tools

DNS Tools

Use the DNS Tools to look up DNS records, check WHOIS for a domain, validate an SPF record, or check your IP address.

Go to DNS Tools

About the Encoder


Base64 encoding is a simple, yet powerful, way to encode binary data into ASCII characters. It is a very popular encoding scheme for transmitting binary data over text-based protocols like HTTPS. Converting between URL encoding, Base64 encoding, and Base64 encoding is a common operation when working on web applications.

With this Encoder/Decoder utility or the free encoder API, you can quickly and easily convert text using these encoding schemes. Enter any UTF-8 character, even emoji like 😁 and 😎, to encode them.

Base64 encoding works by taking the input string ("plaintext") and applying an algorithm, getting an encoded string as output. The algorithm for Base64 encoding uses ASCII formatting for each of the input characters, then divides binary data into 6-bit chunks, which are then converted to decimal numbers and converted back to strings according to the Base64 Index Table.

The entire process for Base64 encoding can be visualized with helpful tools like Kevin Litchfield's Base64 Visualizer.