Encode
Decode
Text to encode
Drop a file here or click to select (max 2MB)
Base64 output
Enter text and click Encode, or toggle to Decode mode

How to Use

  • Toggle between Encode and Decode mode using the tabs
  • Enter text or paste content in the input area
  • With Live mode on, conversion happens as you type
  • Enable URL-safe to use URL-safe Base64 (replaces +/ with -_)
  • Drop a file to encode it (max 2MB)
  • Click Swap to quickly switch input and output

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It's commonly used to embed images in CSS/HTML, encode email attachments, store binary data in JSON, and transmit data in URLs.