Z

Base64 Encoder & Decoder

Encode and decode Base64 text or files. Supports URL-safe Base64. Runs in your browser.

How to use

  1. 1 Pick Encode or Decode.
  2. 2 Paste text or upload a file (up to 5MB).
  3. 3 Toggle URL-safe Base64 if you need a variant compatible with URLs and filenames.

Why use this tool

  • Full Unicode support — emoji and CJK characters encode correctly.
  • URL-safe variant — replaces + / with - _ and strips padding.
  • File-to-Base64 mode for embedding small images / binary in JSON or data URLs.
  • Runs in your browser — your data never reaches our servers.

Frequently asked questions

What is URL-safe Base64?

Standard Base64 uses + / = which break in URLs and filenames. URL-safe Base64 (RFC 4648 §5) replaces + with -, / with _, and removes padding =. Used in JWT, OAuth state, and many web APIs.

Can I encode files?

Yes — click "File → Base64" to upload. Max 5MB to keep the browser responsive. For larger files, use a streaming command-line tool.

Is Base64 encryption?

No — Base64 is reversible encoding. Anyone can decode it. Use it only for transport, never for hiding sensitive data.

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free