Base64_decode

  1. Meet Base64 Decode and Encode, a simple online tool that does exactly what it says: decodes from Base64 encoding as well as encodes into it quickly and easily. Base64 encode your data without hassles or decode it into a human-readable format.
  2. Base64 -decode /tmp/encoded.txt /tmp/decoded.txt Using base64 to decode some text. If you run base64 –decode without a file, you can type text (or copy and paste it), hit return/enter, and then control+d / ctrl+d and it will be decoded.

World's simplest base64 decode. Just paste your data in the form below, press Base64 Decode button, and you get base64 decoded string. Press button, get string. No ads, nonsense or garbage. About Base64 Decode Online Tool: This online base64 decode tool helps you to convert a base64 format String into a raw string. Paste your Input String or drag text file in the first textbox, then press 'Base64 Decode' button, and the result will be displayed in the second textbox.

Warning: Our tools are server side tools, unless we stated otherwise. We do not keep or inspect the contents of the entered data in any way, and all communications with our servers are made through HTTPS (secured SSL). Regardless, we are strongly advise to avoid using sensitive data for our tools.

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64Henrik vibskov art. originates from a specific MIME content transfer encoding.

Base64 encoding schemes are commonly used when there is a need to encode binary data that needs to be stored and transferred over media that are designed to deal with textual data. This is to ensure that the data remain intact without modification during transport. Base64 is commonly used in a number of applications including email via MIME, and storing complex data in XML.

Check here for Base64 Decode Explanation

or check our knowledgebase about Base64 encoding

About

Meet Base64 Decode and Encode, a simple online tool that does exactly what it says: decodes from Base64 encoding as well as encodes into it quickly and easily. Base64 encode your data without hassles or decode it into a human-readable format.
Base64 encoding schemes are commonly used when there is a need to encode binary data, especially when that data needs to be stored and transferred over media that are designed to deal with text. This encoding helps to ensure that the data remains intact without modification during transport. Base64 is used commonly in a number of applications including email via MIME, as well as storing complex data in XML or JSON.Base64 decode javascript
Advanced optionsBase64_decode
  • Character set: In case of textual data, the encoding scheme does not contain the character set, so you have to specify which character set was used during the encoding process. It is usually UTF-8, but can be many others; if you are not sure then play with the available options or try the auto-detect option. This information is used to convert the decoded data to our website's character set so that all letters and symbols can be displayed properly. Note that this is irrelevant for files since no web-safe conversions need to be applied to them.
  • Decode each line separately: The encoded data usually consists of continuous text, so even newline characters are converted into their Base64 encoded forms. Prior to decoding, all non-encoded whitespaces are stripped from the input to safeguard the input's integrity. This option is useful if you intend to decode multiple independent data entries that are separated by line breaks.
  • Live mode: When you turn on this option the entered data is decoded immediately with your browser's built-in JavaScript functions, without sending any information to our servers. Currently, this mode supports only the UTF-8 character set.
Safe and secure
Base64_decodeAll communications with our servers come through secure SSL encrypted connections (https). We delete uploaded files from our servers immediately after being processed and the resulting downloadable file is deleted right after the first download attempt or 15 minutes of inactivity (whichever is shorter). We do not keep or inspect the contents of the submitted data or uploaded files in any way. Read our privacy policy below for more details.
Completely free
Our tool is free to use. From now on, you don't need to download any software for such simple tasks.
Details of the Base64 encoding
Base64_decodeBase64 is a generic term for a number of similar encoding schemes that encode binary data by treating it numerically and translating it into a base-64 representation. The Base64 term originates from a specific MIME-content transfer encoding.

Decode Base64 File

Design
The particular choice of characters to make up the 64 characters required for Base64 varies between implementations. The general rule is to choose a set of 64 characters that is both 1) part of a subset common to most encodings, and 2) also printable. This combination leaves the data unlikely to be modified in transit through systems such as email, which were traditionally not 8-bit clean. For example, MIME's Base64 implementation uses A-Z, a-z, and 0-9 for the first 62 values, as well as '+' and '/' for the last two. Other variations, usually derived from Base64, share this property but differ in the symbols chosen for the last two values; an example is the URL and filename safe 'RFC 4648 / Base64URL' variant, which uses '-' and '_'.

Base64_decode C++


Example
Here's a quote snippet from Thomas Hobbes's Leviathan:Online
'Man is distinguished, not only by his reason, but ..'
This is represented as an ASCII byte sequence and encoded in MIME's Base64 scheme as follows:
TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCAuLi4=
In the above quote the encoded value of Man is TWFu. Encoded in ASCII, the letters 'M', 'a', and 'n' are stored as the bytes 77, 97, 110, which are equivalent to '01001101', '01100001', and '01101110' in base-2. These three bytes are joined together in a 24 bit buffer producing the binary sequence '010011010110000101101110'. Packs of 6 bits (6 bits have a maximum of 64 different binary values) are converted into 4 numbers (24 = 4 * 6 bits) which are then converted to their corresponding values in Base64.
Text contentMan
ASCII7797110
Bit pattern010011010110000101101110
Index1922546
Base64-encodedTWFu

Base64 Decode Python

As this example illustrates, Base64 encoding converts 3 uncoded bytes (in this case, ASCII characters) into 4 encoded ASCII characters.