UTF-8 Base64 Round-Trip Checker

Encode UTF-8 text or file bytes as Base64, decode them and compare the original and decoded bytes.

Input: Text (UTF-8) or original file bytesResult: Binary bytes

Text input

Run to see the result

Examples

Bitcoin genesis newspaper headline

Input

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks
A registry credential from Kubernetes documentation

Input

tiger:pass1234

Expected answer

tiger:pass1234
A checksum-sensitive log line with a final newline

Input

event=deploy status=ready

Expected answer

event=deploy status=ready
A French café in precomposed Unicode

Input

café

Expected answer

café
A French café with a separate combining accent

Input

café

Expected answer

café
Chinese text in a UTF-8 request body

Input

你好,世界

Expected answer

你好,世界
A literal plus and space inside a URL parameter

Input

release notes+A/B?

Expected answer

release notes+A/B?

How the result is produced

  1. Base64 Encoder
  2. Base64 Decoder

Conventions and limitations

For inputs up to 1 MiB, the comparison shows the actual Base64 intermediate and counts every matching byte. Previews show the first 1,024 Base64 characters and 256 bytes; downloads retain the full decoded result. Larger inputs run without this detail preview. This does not normalize Unicode or encrypt data.

Related tools

Browse data format tools