Base64 Encoder and Decoder

Paste text or Base64 and convert it instantly, in your browser.

Runs entirely in your browser

Advertisement

Loading the tool…


  

Advertisement

Base64 turns arbitrary bytes into 64 printable characters so they survive systems that only expect text: email bodies, JSON fields, data URIs, JWT payloads and HTTP Authorization headers. It is an encoding, not encryption: anybody can decode it, including this page.

This decoder accepts standard and URL-safe alphabets, with or without = padding, and ignores line breaks, so you can paste a wrapped certificate block or a header value straight in.

How to use it

  1. Paste your text or Base64 string into the box.
  2. Pick Encode or Decode. The result appears as you type.
  3. Press Copy to put the result on your clipboard.

Questions

Is Base64 encryption?

No. Base64 is reversible by anyone with no key at all. Use it to move data safely through text-only channels, never to hide it. For actual secrecy, encrypt the data first.

Why does my decoded text look like gibberish?

The original bytes were probably not text at all: an image, a compressed file or a binary protocol message. Base64 decoding gives you the bytes back, but only UTF-8 text can be shown as characters.

What is URL-safe Base64?

A variant that uses - and _ instead of + and /, so the result can sit inside a URL or filename without escaping. This tool detects and accepts both automatically.

Does my data get uploaded?

No. The conversion runs as WebAssembly inside your browser tab, so what you paste never leaves the device.

Your data stays on your device

Everything above runs inside your browser as WebAssembly compiled from Rust. Nothing you type is uploaded, logged or stored on a server. There is no server. You can load this page once, go offline, and it still works.