syntaqxsyntaqx/
postsprojectsdocsmiscabout
home/misc/convert/base64
postsprojectsdocsmiscabout

© 2026 Chase Pierce

APITermsPrivacy|

Base64 Decode / Encode

Decode or encode Base64 strings. Everything runs in your browser, nothing is sent to a server.

About Base64

Base64 is an encoding scheme that converts binary data into ASCII text using a 64-character alphabet: A-Z, a-z, 0-9, +, and /, with = for padding.

Every 3 bytes of input produce 4 characters of output, increasing size by roughly 33%.

Common uses: email attachments (MIME), data URIs, JSON Web Tokens (JWTs), embedding images in CSS/HTML, and transmitting binary data through text-only protocols.

A URL-safe variant replaces + and / with - and _to avoid conflicts in URLs and filenames (RFC 4648 §5).

Base64 is not encryption. It provides no security. Anyone can decode it.

References

  • RFC 4648 - Base Encodings
  • RFC 2045 §6.8 - MIME Base64
  • MDN - Base64 glossary
  • Wikipedia - Base64