CALCULATORS NEST 230 Werkzeuge
Katalog / Kryptografie / Base64-Encoder/Decoder
Kryptografie · Werkzeug

Base64-Encoder/Decoder

Kodiert und dekodiert Text und Dateien im/aus dem Base64-Format.

Mode
File
Selected filenone
File size0 B
Plain text

Any file type supported

Input size0 chars
Output size0 chars
Size ratio0:1
EncodingUTF-8
Base64 text
0
output characters
Output
PNG · in deinem Browser erstellt, nichts wird hochgeladen
Industry use cases
Data URL Embedding Web developers embed images and files directly in HTML using data URLs to reduce server requests and improve page load times.
Email Attachment Encoding Email systems encode file attachments to Base64 format to ensure compatibility across different mail clients and servers.
API Authentication Backend developers encode username and password credentials in Base64 for HTTP Basic Authentication headers in API requests.
Binary Data Storage Database administrators store binary data like images and PDFs as Base64 text in relational databases that lack native blob types.
Frequently asked questions
What is Base64 encoding used for?
Base64 converts binary data, such as images or files, into plain ASCII text so it can be safely embedded in places that only support text, like JSON, URLs, or email.
Is Base64 encoding the same as encryption?
No. Base64 only changes how data is represented and can be reversed by anyone; it provides no security or confidentiality, unlike encryption.
Why does Base64 output end with one or two equal signs?
The equal signs are padding characters added when the input length isn't a multiple of three bytes, ensuring the encoded output forms complete four-character groups.
Why is the encoded text longer than the original?
Base64 represents every 3 bytes of input as 4 characters of output, so encoded data is roughly 33% larger than the original.
Why does decoding my Base64 text fail with an error?
Decoding fails when the text contains characters outside the Base64 alphabet (A-Z, a-z, 0-9, +, /, =) or has an invalid length, often due to copy-paste errors or missing padding.
Stay in the loop
New tools, in your inbox.

Get an occasional email when we ship new calculators and updates. No spam, unsubscribe anytime.

We respect your privacy. No spam, ever.