Skip to content
VELNARO

Base64 Encoder

Convert plain text into Base64 — commonly used for embedding data in URLs, emails and configuration files.

Characters

48

Size increase

41.18%

Base64

VkVMTkFSTyDigJQgRnJlZSBUb29scyBmb3IgUmVhbCBMaWZl

Data URI

data:text/plain;base64,VkVMTkFSTyDigJQgRnJlZSBUb29scyBmb3IgUmVhbCBMaWZl

How this was worked out

  1. How it worksBytes are grouped in threes and mapped onto 64 printable characters, so the output is about 33% larger than the input.

Formula

Each group of 3 bytes becomes 4 Base64 characters.

Example

Input

Hello

Result

SGVsbG8=

Frequently asked questions

No. It is an encoding — anyone can decode it instantly. Never use it to hide secrets.

Related tools

Keep going — these tools solve the problems that usually come next.