Skip to content

Base64 Encode & Decode

Encode plain text, JSON, and binary data to standard or URL-safe Base64, and decode Base64 strings back to UTF-8 text.

Presets:
Line Wrap:
Type or paste here

Understanding your calculation

Method, example and limitations

How the calculation works

Base64 represents bytes using a text alphabet so they can travel through text-oriented systems. Encoding and decoding do not provide encryption.

Example to check

The ASCII text Hello encodes as SGVsbG8= in standard Base64. Decoding it restores the same bytes.

Before using the result

Text decoding depends on the byte encoding, commonly UTF-8. Standard and URL-safe Base64 alphabets differ; never treat encoded secrets as protected.

Calculation methodology · Report a result that needs review