Base64 Encoder & Decoder

Encode text or files to Base64, or decode Base64 back to text or a file. Supports data URIs and URL-safe Base64.

Runs in your browser. Files are not uploaded.

How to use

  1. Choose what to do.
  2. Paste text or choose a file.
  3. Copy or download the result.

Questions

What is URL-safe Base64?

It uses - and _ instead of + and /, and leaves out padding, so it can go in URLs.

What is a data URI?

Base64 with a prefix such as data:image/png;base64, so it can be used directly in HTML or CSS.

Is Base64 encryption?

No. Anyone can decode it. Use the File Encryptor to protect data.

More developer tools