pythonrequests

Text & dataEncoders

Base64 encode and decode

Convert text to Base64 and back. UTF-8 safe, with a URL-safe option.

Requirements used

  • UTF-8
  • URL-safe

Everything runs in your browser. Your files are never uploaded.

Frequently asked questions

Is Base64 encryption?

No. Base64 only re-writes bytes using 64 printable characters so they survive text channels. Anyone can decode it, so never use it to hide secrets.

What is URL-safe Base64?

It swaps + and / for - and _ and drops the = padding, so the result can sit in a URL or a JWT. Decoding here accepts both forms.

Why does decoding show an error for some input?

Either the text contains characters outside the Base64 alphabet, or the decoded bytes are not valid UTF-8 text, which happens with images and other binary data.

Is my data uploaded?

Runs entirely in your browser; nothing you paste is sent anywhere.