Developer tools

Base64 encoder & decoder

Encode Unicode text to Base64, or decode it back.

Base64 encoder & decoder
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Encodes UTF-8 text. Standard Base64 uses + and /; URL-safe Base64 uses - and _ without padding. Decoding rejects invalid Base64 and invalid UTF-8. Base64 is encoding, not encryption.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Text or Base64
Hello, world!
Direction
Text → Base64
Alphabet
Standard Base64

Example result

SGVsbG8sIHdvcmxkIQ==