Nifty / Tools / Encode & decode

Base64 Encode

Turn text into Base64. Text is encoded as UTF-8, so accents and emoji survive the round trip.

base64-encode
TextDrop a file here
Base64
Loading…

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

How to use the Base64 Encode

  1. Type or paste text on the left.
  2. Tick URL-safe if the result goes in a URL, a filename or a JWT.
  3. Copy the Base64.

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.

What's URL-safe Base64?

Base64URL swaps + and / for - and _ and drops the = padding, so the result can go in a URL or a filename without escaping. JWTs use it.

Is Base64 encryption?

No. Base64 only changes how bytes are written down. Anyone can decode it, so don't use it to hide passwords or secrets.

Can I encode Base64 in VS Code?

Yes. Nifty Text's Base64 Encode command encodes the selected text in place.

Related tools