LearningTransformsv1

Encode and decode Base64 text

Switch between UTF-8 text and Base64, with examples for JavaScript, Python and PHP.

Reddit
Output
Transformed result
SGVsbG8sIHdvcmxkIQ==
Programming example
Input
Relationship

What connects the input and output?

Base64 maps each group of three input bytes to four printable characters. It is reversible encoding, not encryption, and provides no secrecy.

Sources

2
  1. RFC 4648: Base-N EncodingsRFC Editor
  2. MDN: Base64Mozilla Developer Network

Discussion

0

Sign in to join the discussion.