Utils365

Base64 encode and decode

Turn text and files into Base64, and Base64 back again.

Type text, open any file, or drop one here

Next: JSON to CSV · QR code generator

Report a problem with this tool

How to use Base64 encode / decode

  1. Choose Encode or Decode

    Encode turns text or a file into Base64. Decode turns Base64 back into text or a file.

  2. Paste or open a file

    Type, paste or drop a file. The result updates as you type.

  3. Copy or download

    Copy the result, or download it. Decoded images and files are saved with the right extension.

Why use Utils365

  • Every language and emoji

    Text is encoded as UTF-8, so accents, Chinese, Arabic and emoji come back exactly as they went in.

  • Forgiving decoder

    Line breaks, URL-safe Base64, missing = padding and data: URL prefixes are all handled for you.

  • Files and images too

    Encode any file up to 50 MB, or decode Base64 into an image, PDF or ZIP with a preview.

  • Private by design

    Encoding and decoding happen in your browser, so tokens and keys you paste are never uploaded.

Frequently asked questions

What is Base64?

A way of writing any data, such as an image or a file, using only 64 plain characters (A–Z, a–z, 0–9, + and /). It lets binary data travel through email, JSON, HTML and URLs.

Is Base64 encryption?

No. Anyone can decode it, so it hides nothing. Use it to carry data safely through text-only systems, not to protect secrets.

Why is the Base64 bigger than the original?

Every 3 bytes become 4 characters, so Base64 is about a third larger than the data it holds.

What is URL-safe Base64?

A variant that uses - and _ instead of + and /, usually without = padding, so the result can go in a web address or file name. JWTs use it. The decoder accepts both.

Can I decode a Base64 image?

Yes. Paste the Base64, with or without the data:image/…;base64, prefix. You’ll see a preview and can download the image with the right extension.

What is a data URL?

Base64 with a prefix such as data:image/png;base64, that names the file type. Browsers can show it directly in HTML or CSS. Tick Data URL when encoding a file to add it.