Skip to content
2x2xKit

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to text.

How this is calculated
Encode: UTF-8 bytes → Base64; Decode: Base64 → UTF-8 bytes → text

Assumptions used in this calculation

  • Text encoding: Text is treated as UTF-8 before encoding, so non-ASCII characters (accents, emoji, etc.) round-trip correctly.

About this calculator

The Base64 encoder/decoder converts text to and from Base64 encoding, with full UTF-8 support for non-ASCII characters.

Worked example

Encode 'Hello, World!'

Result: SGVsbG8sIFdvcmxkIQ==

Was this helpful?

Frequently asked questions