Base64 Encoder / Decoder

Encode and decode Base64 with UTF-8 support.

Runs entirely in your browser — nothing you paste is sent to a server.

About this tool

Encode text or files to Base64 and decode back, with proper UTF-8 handling so multi-byte characters survive the round trip.

How it works

  1. Paste text into either panel; the other side updates live.
  2. Toggle URL-safe mode to swap +/ for -_ and drop padding.

When to use it

  • Embedding a small image or SVG in a data URL.
  • Debugging JWTs (though tokens are more than just Base64).
  • Passing binary through a JSON API safely.

FAQs

Related resources