Utility Tools

Base64 Decoder

Decode Base64 or URL-safe Base64 back into readable text, in your browser.

Jump to tool

Decode from Base64 format

Paste Base64 to read it as text. For Base64 files, use the file section below.

Advanced options

Decoded output

Decode files from Base64 format

Choose a Base64 file up to 10 MB; the decoded file is saved on your device. Never run decoded programs from sources you don't trust.

What Is Base64 Decoding?

Base64 decoding turns Base64 text back into the original data. You meet Base64 in email source, JSON Web Tokens, data URLs and configuration files, and decoding it shows what it actually contains.

This tool accepts standard and URL-safe Base64, decodes it with the character set you choose and also handles Base64 files up to 10 MiB. Decoding runs in your browser.

How to Decode Base64

  1. Paste Base64 into Base64 data, or select a Base64 file to decode.
  2. Choose the Source character set.
  3. Select DECODE, or turn on Live mode to decode as you type.
  4. Select Copy to clipboard or Download text to keep the result.

Recognising Base64

ClueWhat it suggests
Only A–Z, a–z, 0–9, + and /, often ending in = or ==Standard Base64
Uses - and _ instead of + and /, no paddingURL-safe Base64, as in JSON Web Tokens
Starts with eyJBase64 of a JSON object, typical of a JWT
data:image/png;base64, in frontAn image embedded in a web page

If Decoding Fails or Looks Wrong

Invalid character error

  • The text includes spaces, line breaks or characters that are not Base64; remove them.

Garbled characters

  • Choose the right source character set, usually UTF-8.

Binary output

  • The data is a file, such as an image, not text; use the file option instead.

Decoding a JWT

A JSON Web Token has three URL-safe Base64 parts separated by dots. Decoding the first two shows its header and claims; the third is a signature that cannot be decoded into text. Decoding a token does not check whether it is valid.

Base64 Decoder FAQ

Need to encode instead?

Turn text or files into Base64.

Base64 Encoder