My Shelf

Keep everything on your shelf

Sign up free and find everything you downloaded in My Shelf, on any device. Save favorites and hear about new tracks first.

or

No password needed. We only use your email to keep your shelf. Privacy

English
← Tools
FREE

Base64 Encode & Decode

Encode text or any file to Base64, or decode Base64 back to text or a downloadable file. Full UTF-8 support for emoji and every language, URL-safe Base64, and Data URLs for embedding images in HTML and CSS. Everything stays in your browser.

How it works

  1. Choose Text or File at the top.
  2. Text: type or paste, then press Encode or Decode. File: drop a file to get its Base64 or Data URL.
  3. Copy the result, or download decoded binary data as a file.

FAQ

What is Base64 used for?

Base64 turns any data into plain letters and numbers so it can travel safely through text-only places: email attachments, JSON and APIs, and images embedded directly in HTML or CSS as Data URLs.

Is Base64 encryption?

No. Anyone can decode Base64, so never use it to hide passwords or secrets. It’s an encoding, not a lock.

What is URL-safe Base64?

It swaps + and / for - and _ and drops the = padding, so the result can go in URLs and file names. JWT tokens use this form. The decoder accepts both forms automatically.

Is there a file size limit?

Files are processed on your device, so the limit depends on its memory. Up to about 50 MB works well; Base64 output is about a third larger than the original.

More tools