# What Is Base64 Encoding? Uses, Size and Security

Base64 represents binary data using 64 printable characters so it can travel through text-only systems such as email and JSON. It enlarges data by about 33% and offers no security: anyone can decode it.

## What it does

Every 3 bytes of input become 4 text characters, which is why the output is about one third larger. Padding with = signs fills out the last group.

## Common uses

Embedding small images in HTML or CSS as data URIs, sending attachments in email, and putting binary values into JSON or URLs.

## It is not encryption

Base64 is a reversible encoding with no key. Never use it to hide passwords or secrets; use proper encryption or hashing instead.

## FAQ

### Why does Base64 end with =?

The equals signs are padding added when the input length is not a multiple of three bytes.

Page: https://handytoolonline.com/blog/what-is-base64-encoding/
Last reviewed: 22 November 2026
