Base64 Decode – Decode Base64 to Text or File Online Free
Decode Base64 strings back to original text or binary data. Fast and secure Base64 decoder.
Decode Base64 strings to text or files online free. Handles padding, line breaks, and URL‑safe variants.
Base64 Decode – Online Decoder
Convert Base64 encoded strings back to original text or binary files. Supports standard Base64, MIME, and even URL‑safe variants.
Example Decoding
Input Base64: SGVsbG8gV29ybGQ=
Decoded text: "Hello World"
Input Base64 (image data URL): data:image/png;base64,iVBORw0KG...
Decoded: PNG binary file
Code Example
// Python
import base64
encoded = "SGVsbG8gV29ybGQ="
decoded = base64.b64decode(encoded).decode()
print(decoded) # Hello World
// JavaScript
const decoded = Buffer.from("SGVsbG8gV29ybGQ=", "base64").toString();
console.log(decoded); // Hello World
Use Cases
- Extract original content from data URLs
- Decode email attachments (MIME)
- Retrieve binary data stored in JSON/XML
- Decode JWT payloads
Frequently Asked Questions
Everything you need to know about this tool
FAQs
Converting Base64 encoded strings back to original binary or text data.
Yes.
Base64 strings with or without padding, line breaks, URL‑safe variant (_, -) also accepted.
Yes, upload .txt or .base64 file.
Characters outside the Base64 alphabet cause an error.
Yes, auto-delete.
Batch mode: up to 5.
Text (UTF-8) or binary file.
Yes, missing or extra padding is auto‑corrected.
Yes, extract the Base64 part after the comma.
Yes.
20 MB.
Download as binary file.
~2 seconds per MB.
Yes.
Yes.
Ignored.
Yes, but JWT uses Base64URL (replace - with +, _ with /).
Yes.
Automatically removed.
Tags
#base64 decode#base64 decoder#decode base64#base64 to text#online base64 decoder#free base64 tool#base64 data url#base64 mime#base64 url safe#base64 jwt#base64 python#base64 javascript#base64 file download#batch base64 decode#base64 from image#base64 binary#base64 hex#base64 utf8#base64 invalid character#base64 api#decode base64 online#best base64 decoder