How to use
Paste your string, choose how strict you want the validation to be, then click Check.
- Paste Base64/Base64URL into the input.
- (Optional) Enable Ignore whitespace and Auto-fix padding.
- Click Check to see validity, normalization, and a decode preview.
- Use Copy buttons to copy the normalized Base64 or the report.
FAQ
What’s the difference between Base64 and Base64URL?
Base64 uses + and /, while Base64URL uses - and _ so it’s URL-safe; padding = is often omitted in Base64URL.
Why does my Base64 string fail to decode?
Common causes are invalid characters, length not being a multiple of 4, or incorrect/missing = padding.
Is it safe to paste secrets here?
The checker runs locally in your browser and doesn’t send data over the network, but you should still avoid sharing sensitive values on untrusted devices.
Can I validate Base64 that contains line breaks?
Yes—enable Ignore whitespace to strip newlines and spaces before validation/decoding.
What does “Auto-fix padding” do?
It adds the required = characters when the unpadded length is valid (mod 4 of 2 or 3); it can’t fix an impossible mod 4 of 1.
Why does the UTF-8 preview look weird?
Not all Base64 decodes to UTF-8 text—many values are binary, so the tool also shows a hex preview of the decoded bytes.
Does “Valid” guarantee the decoded content is correct?
No—“Valid” means the string is well-formed Base64 and decodes without error; it doesn’t verify semantics like file type, JWT structure, or signatures.