How to use
Paste your Base64/Base64URL text, pick the rules you want, then validate or decode.
- Paste the string into the input box.
- Choose options (ignore whitespace, allow URL-safe characters, allow missing padding, or require strict padding).
- Click Validate to see format issues, or Validate + Decode Preview to also view bytes/UTF-8 preview.
- Use Normalize to convert Base64URL to standard Base64 and fix padding.
FAQ
What does this Base64 format checker validate?
It checks allowed characters, correct placement of '=' padding, and length rules (including missing padding if you allow it).
Does a valid Base64 string always have '=' at the end?
No. Padding may be 0, 1, or 2 '=' characters, and Base64URL commonly omits padding entirely.
What’s the difference between Base64 and Base64URL?
Base64URL uses '-' and '_' instead of '+' and '/', and often drops '=' padding to be URL-safe.
Why does my Base64 fail when I paste it from logs?
It may include spaces or newlines; enable “Ignore whitespace/newlines” and validate again.
Can this tool decode the text too?
Yes, “Validate + Decode Preview” shows byte length plus a short UTF-8 and hex preview (when possible).
Is decoding guaranteed to produce readable text?
No. Base64 can represent any bytes, so the decoded data might be binary, not UTF-8 text.
Is my data sent to a server?
No. The validation and decode preview run locally in your browser with no network requests.