Normalize

Base64 Normalizer

Paste a Base64 string and convert between the standard and URL-safe alphabets, then add correct padding or strip it entirely.

Input

Local

Normalized output

About this tool

About Base64 Normalizer

The Base64 Normalizer converts between the standard and URL-safe alphabets and corrects padding. It is for developers reconciling Base64 that came from different systems.

Standard and URL-safe Base64 use different characters, and mismatches cause decoding to fail. Normalising locally aligns the alphabet and padding instantly and privately.

How to use

Step by step

  1. Paste a Base64 string.
  2. Convert between standard and URL-safe alphabets as needed.
  3. Add or strip padding to match the target.
  4. Copy the normalised result.
Key features

What it offers

  • Standard and URL-safe conversion
  • Padding correction
  • Instant output — Base64 Normalizer
  • Runs locally — Base64 Normalizer
Common use cases

Where it helps

  • Aligning a URL-safe token to standard Base64 for decoding
  • Preparing standard Base64 for use in a URL
  • Fixing padding before decoding
  • Reconciling Base64 from two systems
Best practices

Tips for best results

  • Normalise URL-safe Base64 to standard form before decoding with a standard decoder.
  • Match padding to the target context, since URL-safe often omits it.
  • Confirm which alphabet the source and destination each expect.
Common mistakes to avoid

Pitfalls to watch for

  • Decoding URL-safe Base64 with a standard decoder without normalising first.
  • Adding padding where a URL-safe context expects it stripped, or vice versa.
  • Assuming both alphabets are interchangeable without conversion.
Benefits

Why people use it

Alphabet alignment

Switch between standard and URL-safe.

Padding fixes

Add or strip padding as needed.

Prevents failures

Avoids mismatched-alphabet errors.

Private

Normalised on your device.

FAQ

Common questions

Standard uses + and /, which can break in URLs. URL-safe replaces them with - and _ so the string is safe in query strings and filenames.
It adds the right number of = characters so the length is a multiple of four, which some strict decoders require.
Yes. Stripping padding removes trailing = characters, which is common in URL-safe tokens and JWTs.
No. Normalization runs entirely in your browser.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.