Base64 Encoder

Turn text or a file into Base64 as you type. Works with any language and emoji.

FreeNo sign-upPrivate — runs in your browser
0Input bytes
0Base64 characters
—Size change

How to use the Base64 Encoder

  1. Add your textType or paste it in the left box, or choose “Encode a file”.
  2. Pick optionsTurn on URL-safe for links and file names, or split lines for email.
  3. Copy the resultThe Base64 appears on the right as you type.

Example

Hello, world! → SGVsbG8sIHdvcmxkIQ==

13 bytes become 20 Base64 characters, about 33% larger.

Frequently asked questions

What is Base64 used for?

Base64 turns any data into plain letters and numbers so it can travel safely through systems that only handle text, such as email, JSON, URLs and HTML data URIs.

Is Base64 encryption?

No. Anyone can decode Base64 in a second. It only changes how data is written. Never use it to hide passwords or secrets.

What does URL-safe Base64 change?

It replaces + with - and / with _, and drops the = padding, so the result can sit inside a URL or file name without being changed.

Why is the result bigger than my text?

Base64 uses 4 characters for every 3 bytes, so the output is about 33% larger than the input.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester