Encode text (as UTF-8 bytes) or hex bytes to Base64, and decode Base64 back to text or hex. Choose the standard variant (+ and /) or the URL-safe one (- and _) used by JWT and many APIs.
Decoding is strict: it rejects characters outside the alphabet, misplaced padding, impossible lengths and non-zero leftover bits, and tells you where the problem is. If the bytes are not valid UTF-8, you can view them as hex.
How to use it
- Choose Encode or Decode and the variant.
- Paste the text or Base64 (MIME line breaks are ignored).
- Press Run and copy the result.
Example
Hola, UtiliGo! ¿Qué tal? 👋 SG9sYSwgVXRpbGlHbyEgwr9RdcOpIHRhbD8g8J+Riw== Limitations
- Base64 is not encryption: anyone can decode it.
- For binary files use hex input; the tool does not read images or binary files directly.
- 5 MiB text limit.
FAQ
- What is the difference between Base64 and Base64url?
- Base64url replaces + with - and / with _ so it can be used in URLs and file names, and usually omits the “=” padding.
- Why does “SGVsbG8” decode but “SGVsbG9” does not?
- Because in the second one the leftover bits of the last character are not zero: it is not canonical Base64. Many decoders accept it silently; here it is flagged.