Base64 Encoder

Encode & decode Base64 — in your browser, nothing uploaded.

Type or paste above to see the result here.
How it works & more

Base64 Encoder/Decoder converts text and files to and from Base64, entirely inside your browser. Type or paste text to encode it, or paste a Base64 string to decode it back — switch direction with one click. It is fully UTF-8 safe, so emoji, accents and non-Latin scripts round-trip perfectly (many older tools silently corrupt them). You can also drop a file to get its data: URI, or paste a Base64 image to preview and download it. Unlike base64decode.org — which a third-party audit found fires over 600 network requests to nearly 100 ad and tracking domains on a single page load — this tool sends nothing anywhere: the encoding and decoding happen with your browser’s built-in functions, so your data never leaves your device. There is no account, no ad wall, no daily limit, and it supports both the standard and URL-safe (Base64URL) alphabets.

How it works

  1. Under Direction, choose To Base64 or From Base64.
  2. Type or paste your text — or, in the To Base64 direction, drop a file to get its data URI.
  3. The result appears instantly below; click Copy to copy it.
  4. Need URL-safe output? Turn on URL-safe (Base64URL). Everything happens in your browser — nothing is uploaded.

FAQ

More Developer tools

Free

JSON Formatter

Format, validate & minify JSON — in your browser.

Free

Timestamp Converter

Unix epoch ↔ date — ISO 8601, UTC and timezone.

Free

Hash Generator

MD5/SHA-256/512 hashes of text or files — in your browser.