What is Base64 normalization?
Base64 normalization cleans a copied string by removing whitespace, choosing standard Base64 or Base64URL characters, and adding or removing padding. It is useful before decoding, comparing, or storing values.
How to use it
- Paste the Base64 string.
- Choose standard Base64 or Base64URL output.
- Choose whether to keep padding.
Example
Input: SGVs bG8td29y bGQ
Output: SGVsbG8td29ybGQ=
Common mistakes
- Normalization cannot recover bytes from a truncated string.
- Some token formats expect unpadded Base64URL.
- Some older decoders expect padded standard Base64.
Related tools
- Validate the result with the Base64 validator.
- Fix common issues with Repair malformed Base64.
- Detect the current format with Base64 standard detector.
Privacy and security
Normalization is performed locally in your browser.