How to use
Use it in one of two modes:
- Check & Decode: paste a Base64/Base64URL string, optionally allow whitespace, then run to see validity, normalization, and decoded output.
- Encode Text: paste text, choose URL-safe or strip padding if needed, then run to get Base64.
FAQ
What does this Base64 encoding checker validate?
It checks character set, padding placement, and length rules, then attempts a real decode to confirm the Base64 is usable.
Can it handle Base64 with spaces or newlines?
Yes—enable “Allow whitespace” to ignore whitespace characters before validation and decoding.
What is Base64URL and how is it different?
Base64URL uses - and _ instead of + and /, often with optional padding removed.
Why does it say “not valid UTF-8” after decoding?
The bytes are valid, but they don’t form valid UTF‑8 text (for example, compressed/binary data). Use the hex/byte info instead.
Is missing padding always an error?
Not always—many systems omit =. This tool can add the required padding to normalize and decode.
Does this tool upload my data?
No. Everything runs locally in your browser; there are no network calls in the tool logic.
How do I quickly run it from the keyboard?
Press Ctrl+Enter (Windows/Linux) or Cmd+Enter (macOS) to run.