Do you need to work with Base64 format? Our site is the perfect solution! Use our convenient online tool to easily encode or decode your data.

Encode to Base64

For encoded binaries such as images, documents ...etc, use the file upload form located further down on this page.

Encode files to Base64 format

0 Click (or tap) here to select a file
The maximum file size is 192MB.
Working...
Please wait until the encoding process is complete.
Success!
{file} to download the encoded file.
Please note that this file is removed from our system immediately after the first download attempt or 30 minutes of inactivity.
Error!Something went wrong:{error}

About

Welcome to 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.

Why Use Base64 Encoding?

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.

Advanced Options

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

All 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 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 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 "_".

Example

Here's a quote snippet from "To Kill a Mockingbird":

"Most people are good, my child, you just don't realize it yet."

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

TW9zdCBwZW9wbGUgYXJlIGdvb2QsIG15IGNoaWxkLCB5b3UganVzdCBkb24ndCByZWFsaXplIGl0IHlldC4=
2020-2024 b64encode.org
Privacy policy About us Contact
This website uses cookies. We use cookies to personalise content/ads and to analyse our traffic.