Use this free online Base64 Decoder to decode your base64 encoded into its original form. Fast, secure, and easy to use. No registration or installation required.
Input or paste the string you want to decode into the input field.
Click the "Decode" button to convert the string
Copy the Base64-decoded result for use in your project.
This tool ensures quick and reliable Base64 decoding, making it a must-have utility for developers working with data serialization, APIs, or web applications.
Base64 Decoder - Convert Base64 encoded strings to the original form instantly
The Base64 Decoder is a simple and efficient online tool that converts base64 encoded strings into its not encoded form (the original one). Base64 decoding is commonly used to decode data after a transmittion in formats that require text-based representations, such as JSON, XML, or URL parameters.
Base64 decoding reverses the encoding process, converting the encoded ASCII characters back into their original binary form. This ensures that the original data can be accurately retrieved after transmission through text-based protocols. The decoding process follows these fundamental principles:
Af per the encoding process, different implementations are possible. As an example "RFC 4648" defines the characters set as only letters (A-Z, a-z) and numbers (0-9) for the first 62 characters, and plus (+) and slash (/) symbols as last 2 characters - padding equal symbol (=) is used when necessary. "RFC 4648 / Base64URL" variant differs from the previous one for the last 2 character. It uses minus (-) and underscore (_) as they are URL safe.
Authorization: Basic <Base64-encoded credentials>).data:image/png;base64,...) to embed media directly in web pages.While Base64 is useful for encoding and transmission, it's not encryption—it provides no security and can be easily reversed through decoding.
To convert a Base64 encoded string into its original format we need to follow the opposite process used for the encoding. The process' steps are the following and represent the Base64 decoding algorithm:
Let's have a pratical example.
We want to decode "RmF0aGVy" from Base64.
| Encoded string | RmF0aGVy | |||||||||||||||||||||||||||||||||||||||||||||||
| Base64 characters | R | m | F | 0 | a | G | V | y | ||||||||||||||||||||||||||||||||||||||||
| Index | 17 | 38 | 5 | 52 | 26 | 6 | 21 | 50 | ||||||||||||||||||||||||||||||||||||||||
| Binary | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 |
| ASCII | 70 | 97 | 116 | 104 | 101 | 114 | ||||||||||||||||||||||||||||||||||||||||||
| Original | F | a | t | h | e | r | ||||||||||||||||||||||||||||||||||||||||||
Obtaining the "Father" string.
To have a better understanding of the Base64 encoding and decoding processes, you can check our Base64 Encoder tool documentation where we explain in detail how the encoding process works and we provide a pratical example.
To have a look at the Base64 character set, you can check the RFC 4648 Base64 Table page of our documentation where we provide a table with all the characters used in the encoding process and their corresponding index.