Base64 Normalize Tool

code
Loading feedback…

Clean copied Base64 strings by removing whitespace, converting between standard and URL-safe alphabets, and fixing padding.

Last updated: May 18, 2026Author: Mateo DíazReviewed by: Riley Williams
Base64 Normalize Tool
In-browser
Normalize Base64 whitespace, alphabet, and padding
Characters: 17Words: 3Sentences: 0Lines: 1

Options

Characters: 0Words: 0Sentences: 0Lines: 0

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

  1. Paste the Base64 string.
  2. Choose standard Base64 or Base64URL output.
  3. 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

Privacy and security

Normalization is performed locally in your browser.