This will encode or decode base64, urlencode, rot13 or htmlentities to its counterpart.
SGVsbG8sIHdvcmxkIQ==
Hello, world!
Y2Fmw6k=
café
dXNlcjpwYXNz
user:pass
Authorization: Basic
A–Z
a–z
0–9
+
/
=
SGVsbG8sIHdvcmxkIQ
The decoder is strict. Any character outside the Base64 alphabet makes the whole result empty, and so does the wrong amount of padding (for example one = where two are needed). The URL-safe variant, which uses - and _ instead of + and /, is not accepted either: replace - with + and _ with / first.
-
_
If the Base64 holds binary data, such as an image or a ZIP file, the output box shows unreadable characters, because the result is displayed as text.
What do the = signs at the end mean? Base64 works in groups of three bytes. When the data doesn't fill the last group, one or two = signs mark the gap.
Is Base64 a way to hide a password? No. As the examples show, anyone can decode it instantly.
Need the other direction? Use Base64 encode.
Base64 is a byte sequence of 8-bit padded ascii in mime.
Tyically used for passing strings and variables between web pages
Rotates the characters 13 places. Since the basic latin1 alphabet has 26 characters, performing rot13 on a string encrypts it. Do it twice, and it's decrypted.
Encodes or decodes all characters that have a HTML equivalent entity.