← All Base64 tools
LOCAL CONVERSION · NORMALIZATION

Normalize Base64

Normalize Base64 formatting and missing padding with a change report. Processed in your browser.

Base64 formattingCanonical Base64

Review whitespace, alphabet and padding changes. Normalization preserves the decoded bytes.

0 UTF-16 code units
Maximum pasted length: 24 MiB characters. Decoded files: 16 MiB. Oversized input is rejected when run.

Canonical Base64

Run your source or load the labelled sample to explore the output. Input stays on this device.

How to use Normalize Base64

  1. Paste the source value into the input field.
  2. Run the tool and review its result or validation message.
  3. Download the complete result, or copy text output. Clear removes the result and releases its download.

Does this upload my data?

No. This tool runs in a browser worker. Input is not stored or sent to a server.

Does Base64 change a file format?

No. Encoding and decoding preserve bytes. A format-specific tool checks the signature, but does not transcode or guarantee that a file is intact. Some media may not play in your browser; the download still preserves the bytes. SVG and HTML are never rendered here.

Related tools

About Normalize Base64

Normalize Base64 turns messy Base64 into its canonical form: it removes whitespace and line breaks, converts the URL-safe alphabet to standard, and adds missing padding. A report lists every change.

Normalising never changes the decoded bytes, so it is safe for cleaning values copied from emails, PEM files and logs.

Good for

  • Cleaning Base64 copied across several lines.
  • Converting Base64URL for a strict decoder.
  • Fixing padding before storing a value.

Questions

How is this different from Repair?

Normalize only changes formatting and keeps the bytes. Repair may remove or alter characters, which can change the data.

Is the result standard Base64?

Yes, with the + and / alphabet and = padding.