Nifty / Tools / Encode & decode

Base64 Decode

Paste Base64 to turn it back into text. Standard and URL-safe Base64 both work, with or without = padding.

base64-decode
Base64Drop a file here
Text
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the Base64 Decode

  1. Paste the Base64 string on the left. Line breaks and spaces are ignored.
  2. The decoded text appears on the right straight away.
  3. Copy the result. If the input isn't valid Base64 or isn't UTF-8 text, the status line says so.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

Does it decode URL-safe Base64?

Yes. The - and _ characters of Base64URL (used in JWTs and many APIs) are accepted, and missing = padding is fine.

Why does it say the bytes aren't valid UTF-8?

The Base64 holds binary data, such as an image or a compressed file, rather than text. A text decoder can't show that as characters.

Can I decode Base64 in VS Code?

Yes. Nifty Text's Base64 Decode command decodes the selected text in place, and works in VS Code, Cursor and the other forks.

Related tools