What is Base64?

Ba

Troubleshooting

Security considerations

a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed small files (images, fonts) into text formats, send data in URLs, or transport bytes safely through systems that are text-only.

How it works

Base64 takes groups of 3 bytes (24 bits) and converts them into 4 ASCII characters (6 bits each). If the input isn't divisible by 3, padding characters (=) are added.

Common use cases

Example

Text: Hello World!
Base64: SGVsbG8gV29ybGQh

Official documentation

eta charset="utf-8" /> Base64 β€” Tutorial
OfflineSafeTools

Base64 β€” Tutorial

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters. It’s commonly used to embed small files (images, fonts) into text formats, send data in URLs, or transport bytes safely through systems that are text-only.

Typical uses

Using the Base64 tool

  1. Text input β€” Paste text into β€œText input”, then click Encode to get Base64. Use Decode to convert Base64 back to text.
  2. File input β€” Drop a file or choose one. The tool reads it in your browser and encodes it to Base64. For large outputs you can use the Download button.
  3. Output actions β€” Use Copy output to copy. The download button appears for files and large results.
  4. History β€” Last 5 conversions are stored locally. Use Clear history to remove them.

Open the tool: Base64 Encoder / Decoder

Privacy & limits

Troubleshooting