PrimeCalcPro
Explore 1070+ free calculators — math, finance, health & more.

File Size Calculator

Estimate file size after compression or conversion

Base64 Encoder / Decoder

Input

Base64 encodes binary data into text using 64 printable ASCII characters, making it safe to transmit in text-based systems like email and URLs. It is not encryption — just encoding.

  1. 1Every 3 bytes → 4 Base64 characters
  2. 2Characters: A–Z, a–z, 0–9, +, / (64 total)
  3. 3= padding makes output a multiple of 4 characters
  4. 4Output is ~33% larger than original binary input
Encode "Man"="TWFu"
Decode "SGVsbG8="="Hello"
Use caseExample
Email attachmentsMIME encoding
Inline imagesdata:image/png;base64,...
JWT tokensHeader.Payload.Signature
HTTP Basic authAuthorization: Basic ...

References

🔒
100% Gratis
Ingen registrering
Korrekt
Verifierade formler
Omedelbar
Resultat direkt
📱
Mobilanpassad
Alla enheter

Settings

Theme

Light

Dark

Layout

Language

PrivacyTermsAbout© 2025 PrimeCalcPro