Free tools

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 to text instantly. Commonly used for encoding binary data in APIs and blockchain applications.

Press Ctrl + Enter to convert

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /).

Example

"Hello" SGVsbG8=

Common Uses

  • Encoding binary data in JSON
  • Data URLs for images
  • Email attachments (MIME)
  • API authentication tokens

FAQ

What is Base64 encoding?
Base64 encodes binary data as ASCII text using 64 characters (A–Z, a–z, 0–9, +, /) plus optional padding (=). It is widely used so binary payloads can travel safely in JSON, HTML, email, and URLs.
How do I encode text to Base64?
Enter or paste your text, choose Encode, and copy the Base64 output. Decoding reverses the process: paste a Base64 string and decode it back to readable text.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it. Use it for transport and representation, and use proper cryptography when you need secrecy.
When is Base64 used in APIs and Web3?
APIs often Base64-encode keys, tokens, images (data URLs), and binary fields in JSON. In Web3 tooling you may also see it for certain wallet payloads, metadata, or file-like content.