Base64 to Text Decoder
Paste Base64 and read the original text straight away. Standard and URL-safe Base64 both work, missing = padding is added automatically, spaces and line breaks are ignored, and accented letters and emoji come back correctly.
How to Decode Base64 to Text
Quick answer: paste the Base64; the decoded text appears below straight away.
-
1
Paste the Base64
Or open a text file that contains it.
-
2
Read the text
It is decoded as you paste.
-
3
Fix errors
A clear message shows what is wrong.
-
4
Copy or download
Save the decoded text.
What You Get
What Does the Decoder Do?
Base64 turns data into a string of letters, numbers and a few symbols so it can travel through systems built for text. This decoder reverses that: it turns the Base64 back into the original bytes and reads them as UTF-8 text, so letters from every language and emoji appear correctly. You will find Base64 in web service responses, configuration files, email sources, tokens, data exports and debugging logs.
Messy Input Is Fine
Base64 copied from emails and logs is often broken over several lines, has spaces, or has lost its = padding. The decoder removes whitespace, adds missing padding and accepts both the standard alphabet with + and / and the URL-safe alphabet with - and _. It also removes a "data:...;base64," prefix if you paste a whole data address. If something cannot be decoded, a clear message explains why instead of showing garbled text.
Decoding Files and Images
Not every Base64 string contains text. If it holds an image, a PDF or another file, the result here will look like random symbols, because those bytes were never meant to be read as words. For PDFs, use Base64 to PDF, which rebuilds the file and shows a preview.
Example
Paste SGVsbG8sIHdvcmxkIQ== and you get "Hello, world!". The URL-safe string SGVsbG8sIHdvcmxkIQ, without padding, gives the same result. To go the other way, use Text to Base64.
Who Decodes Base64?
Developers reading web service responses and token contents, support teams checking data sent by customers' systems, testers verifying what an application stores, students learning how encodings work, and anyone who received a Base64 block in an email or document and wants to know what it says. Because the decoder runs in your browser, sensitive strings never leave your computer.
Good to Know
Decoding never changes your data: the output is exactly the bytes the Base64 represents, read as UTF-8. If the original text used an older encoding, such as Windows-1252, a few characters like curly quotes may show as replacement marks; the rest will be readable. Base64 is not encryption, but some systems put encrypted data inside Base64; in that case decoding shows unreadable bytes, which is expected.
Step by Step
Copy the whole Base64 string, including any = signs at the end, and paste it into the box. If it came from an email or a log and is split over several lines, paste it as it is; the decoder joins the lines for you. Read the result, then copy it or download it as a .txt file. If you see an error, check that the string was copied completely and has not been cut off.
The character counts on the left show how much shorter the decoded text is than the Base64.
Nothing you paste is changed or stored; clear the box with one click when you are done.
Private, Free and Instant
The decoder is free and handles input up to 5 MB. There is no sign-up, no limit and nothing to install. Everything runs inside your browser, so passwords, tokens, customer data and private messages are never uploaded, logged or stored anywhere. The result updates instantly as you type or paste, and you can open a text file from your device and download the result as a new file. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.
Decoding Base64 Text
Base64 represents data using 64 safe characters: letters, digits, plus and slash, with equals signs as padding. It is used in emails, web tokens, data URLs and configuration files.
Important: it is not encryption
Base64 only changes the form of data and anyone can decode it. Never treat it as protection for secrets.
Decoding tips
- URL-safe variants use a hyphen and an underscore instead of plus and slash.
- Padding equals signs may be missing; the tool can cope.
- If the result is garbled, the original data might be binary, such as an image, rather than text.
To encode, use text to Base64.
Frequently Asked Questions
Questions about Base64 decoding