Skip to content

Base64 encoder / decoder

Encode text or files to Base64 — or decode Base64 back to text and binary files. Standard and URL-safe alphabets.

Mode
Source
0 chars
Output will appear here as you type.

Features

How it works

  1. Pick Encode or Decode, then choose Text or File as the source.
  2. Type or paste text, or drop a PNG, JPG or PDF to encode its bytes.
  3. Toggle URL-safe, 76-char MIME wrap or a data: URI prefix, then copy or download.

Your files never leave this page

Every conversion runs entirely in your browser using WebAssembly. There is no upload, no server-side processing, no analytics, and no cookies. Open DevTools → Network during the operation and you will see zero outbound traffic.

Related tools

Topics covered