What is Base64 Encoding
Base64 Encode contain 6 bits of data it is a type of encoding. It is used to convert binary into code. It is used to show binary data in ASCII format. The word Base64 derive from unique distinct that is MIME(Multipurpose internet mail Extension). By using Base64 we can smoothly forward the thing like e-mail and HTML data it helps to convert binary data into the text form. The extensive action is to approach base 64 characters because the member represent the batch of general major part of encoding and it is also printable
When you have some binary data that you want to ship across a network, you generally don't do it by just streaming the bits and bytes over the wire in a raw format. Why? because some media are made for streaming text. You never know some protocols may interpret your binary data as control characters (like a modem), or your binary data could be screwed up because the underlying protocol might think that you've entered a special character combination (like how FTP translates line endings).
So to get around this, people encode the binary data into characters. Base64 is one of these types of encodings.
Because you can generally rely on the same 64 characters being present in many character sets, and you can be reasonably confident that your data's going to end up on the other side of the wire uncorrupted.Base64 converts data into a URL friendly string consist of the “standard” alphabet uses A-Z, a-z, 0-9 and /,+ with = as a padding character.