0% found this document useful (0 votes)
220 views

Base64 Decode and Encode - Online

This document provides information about and tools for encoding and decoding Base64. It allows users to paste or upload text or files to decode from Base64 format. It also explains what Base64 is, how it works, and examples of encoding text to Base64 format. The site aims to provide a simple, free, and secure way to encode and decode Base64 online without needing any software.

Uploaded by

HK Free
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
220 views

Base64 Decode and Encode - Online

This document provides information about and tools for encoding and decoding Base64. It allows users to paste or upload text or files to decode from Base64 format. It also explains what Base64 is, how it works, and examples of encoding text to Base64 format. The site aims to provide a simple, free, and secure way to encode and decode Base64 online without needing any software.

Uploaded by

HK Free
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

BASE64  Decode

Decode and Encode  Encode

Have to deal with Base64 format? Then this site is made for you! Use our super handy online tool to decode or
encode your data.

Decode from Base64 format


Simply enter your data then push the decode button.

Type (or paste) here...

 For encoded binaries (like images, documents, etc.) use the file upload form a bit further down on this page.

UTF-8 Source character set.

Decode each line separately (useful for multiple entries).

 Live mode OFF Decodes in real-time when you type or paste (supports only UTF-8 character set).

 DECODE  Decodes your data into the textarea below.

Result goes here...

Decode files from Base64 format


Select a file to upload and process, then you can download the decoded result.
 Click (or tap) here to select a file

 Maximum file size is 192MB.

Decode each line separately (useful for multiple entries).

 DECODE 

 About

Meet Base64 Decode and Encode, a simple online tool that does exactly what it says; decodes Base64 encoding and
encodes into it quickly and easily. Base64 encode your data in a hassle-free way, or decode it into human-readable
format.

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

Advanced options

Character set: In case of textual data the encoding scheme does not contain their character set, so you have to
specify which one was used during the encoding process. It is usually UTF-8, but can be any other; if you are not
sure then play with the available options including the auto-detect one. This information is used to convert the
decoded data into our website's character set, so all letters and symbols can be displayed properly. Note that this
is irrelevant for files, since no web-safe conversions have to be applied to them.
Decode each line separately: The encoded data usually consist of continuous text, even newlines are converted
into their base64 encoded forms. Prior decoding all non-encoded whitespaces are stripped from the input to take
care of its integrity. This option is useful if you intended to decode multiple independent data entries separated
with 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

All communications with our servers are made through secure SSL encrypted connections (https). Uploaded files are
deleted 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. We do not keep or inspect the contents of the entered 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 you don't have to download any software for such tasks.

Details of the Base64 encoding


Base64 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.

Design

The particular choice of characters to make up the 64 characters required for base varies between implementations. The
general rule is to choose a set of 64 characters that is both part of a subset common to most encodings, and 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,
"+" 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 file name safe (RFC 4648 / Base64URL) variant, which uses "-
" and "_".

Example

A quote snippet from Thomas Hobbes's Leviathan:

"Man is distinguished, not only by his reason, but ..."

represented as an ASCII byte sequence is encoded in MIME's Base64 scheme as follows:

TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCAuLi4=

In the above quote the encoded value of Man is TWFu. Encoded in ASCII, M, a, n are stored as the bytes 77, 97, 110,
which are 01001101, 01100001, 01101110 in base 2. These three bytes are joined together in a 24 bit buffer producing
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 content M a n
ASCII 77 97 110
Bit pattern 0 1 0 0 1 1 0 1 0 1 1 0 0 0 0 1 0 1 1 0 1 1 1 0
Index 19 22 5 46
Base64-encoded T W F u

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

 Bonus tip: Bookmark us!


 Other tools

URL Decode 

URL Encode 

JSON Minify 

JSON Beautify 

JS Minify 

JS Beautify 

CSS Minify 

CSS Beautify 

 Partner sites

Decimal to Hex converter 

Hex to Decimal converter 

Secure Chat 

Quick and easy


online payments
Put your credit card aside;
all you need is NETELLER
 Switch to mobile version

Open a free account


 2010-2020 base64decode.org

 Privacy policy  Contact

This website uses cookies. We use cookies to personalise content and ads, and to analyse our traffic.

You might also like