Base64 decode

Decode Base64 back to UTF-8 text in your browser. Handles multi-byte characters correctly.

Runs in your browser Instant No signup, no tracking

About this tool

Decode a Base64 string back to UTF-8 text. Whitespace and line breaks in the input are ignored. Invalid Base64 is rejected with a clear error. Everything runs in your browser — safe for tokens, JWT payloads, and other sensitive strings.

Example

Paste the input on the left and you will get output like this:

Sample Base64

SGVsbG8sIHdvcmxkISDwn5GL

Resulting Text

Hello, world! 👋

How to use Base64 decode

  1. Paste or type your Base64 into the left pane.
  2. The Text appears instantly in the right pane. Conversion runs in your browser — nothing is uploaded.
  3. Copy the result to your clipboard or download it as a file.

FAQ

Does this handle URL-safe Base64?
Partially — replace `-` → `+` and `_` → `/` first, then decode. A dedicated URL-safe option is on the roadmap.
How is Unicode restored?
The decoded bytes are read as UTF-8 so emoji and non-ASCII characters come back intact.
Why do I get an 'invalid base64' error?
The input contains characters outside the Base64 alphabet, or its length isn't a multiple of 4 (add `=` padding).