Encoding Playground
Type or paste text, see all encodings in real time
Decoded Plaintext
Copied!
Base64
Copied!
URL Encoding
Copied!
Hex
Copied!
HTML Entities
Copied!
Binary (UTF-8 Bytes)
⚠ Encoding is NOT Encryption
Encoding transforms data into a different format so it can be safely transmitted or stored. Anyone can reverse it โ there is no secret key involved. Base64, URL encoding, and Hex are all fully reversible by design.
Encryption, on the other hand, uses a secret key to make data unreadable without that key. Never use encoding to "hide" sensitive data โ use proper encryption (AES, RSA, etc.) instead.
❓ Why Does Base64 End with =?
Base64 encodes 3 bytes of input into 4 characters of output. When the input length isn't divisible by 3, padding characters (=) are added to make the output a multiple of 4.
0 bytes remaining → no padding. 1 byte remaining → == added. 2 bytes remaining → = added.
Try it: "Hi" (2 bytes) → SGk= "Hey" (3 bytes) → SGV5 "H" (1 byte) → SA==