100% local

Base64 Encode & Decode

Encode/decode with charset options, live mode, line mode, and file tools.

Runs in your browser Works offline No uploads, no sign-up

Base64 input

0 chars

Output

0 chars

How to use the Base64 Encode & Decode

Decode and encode Base64 with character-set selection, live mode, per-line processing, URL-safe variant, and file encode/decode downloads — fully local, nothing is uploaded.

  1. 1Paste Base64 to decode it, or plain text to encode it. Live mode updates the output as you type.
  2. 2Pick a character set (UTF-8 by default) and switch on URL-safe mode for Base64URL strings such as JWT segments.
  3. 3Use Encode file / Decode file for binary data, then copy the result or download it.

Frequently asked questions

What is Base64 encoding?

Base64 represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It lets you carry bytes through text-only channels such as JSON, email, HTML data URLs and HTTP headers. Output is about 33% larger than the input.

Is Base64 encryption?

No. Base64 is a reversible encoding, not encryption. Anyone can decode it, so never use it to protect secrets.

What is the difference between Base64 and Base64URL?

Base64URL replaces “+” with “-” and “/” with “_”, and usually drops the “=” padding, so the value is safe to put in URLs and filenames. JWTs use Base64URL.

Is my data uploaded anywhere?

No. Everything runs as JavaScript inside this browser tab. The site’s Content-Security-Policy blocks network requests to any other origin, so your input has nowhere to go. It also works offline once loaded.