ONEXNote

Base64 Encoder/Decoder

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. It's commonly used when there's a need to encode binary data that needs to be stored and transferred over media that are designed to deal with ASCII.

Use cases include:

  • Encoding email attachments
  • Storing complex data in JSON
  • Embedding image data directly in HTML or CSS
  • Transferring binary data in URL parameters