How to use
Use it to encode or decode Base64 strings without sending data anywhere.
- Select Encode or Decode.
- Paste your text/Base64 into the input box.
- Optional: enable URL-safe and/or Strip padding.
- Click Convert, then Copy output.
FAQ
Is this Base64 generator safe to use with sensitive data?
It runs locally in your browser and does not send input over the network, but always follow your organization’s security policy.
Does it support Unicode (UTF-8) text?
Yes. Encoding uses UTF-8, so non-ASCII characters (like ✓, emoji, or CJK) work correctly.
What is URL-safe Base64 (Base64URL)?
It replaces + with - and / with _, making the string safer inside URLs and JWT parts.
Should I remove '=' padding?
Some systems (like JWT) omit padding; others require it. If decoding fails elsewhere, keep padding or restore it.
Why does decoding fail for my input?
Common causes are invalid characters, wrong length (mod 4 = 1), or truncated data. This tool ignores whitespace and auto-adds missing padding when possible.
Is Base64 encryption?
No. Base64 is just an encoding; anyone can decode it.
Can I decode JWT payloads here?
You can decode individual JWT segments (they’re Base64URL), but for full JWT parsing use the JWT Converter tool linked above.