Base64 Validator

Check that text is valid Base64, see which alphabet it uses, whether the padding is right, and what it decodes to.

Processed on your device. Files are not uploaded

How to check Base64

  1. Paste your Base64

    Paste or type it into the box, or press Try an example.

  2. Read the result

    A green or red message says whether it is valid, with the details below.

  3. Fix and re-check

    Edit the text and the result updates straight away.

    Stray spaces, wrong length and padding are the usual faults.

Worked example

This is what Base64 Validator gives for its own sample values. Open the tool above and change anything to try your own.

Base64

SGVsbG8sIHdvcmxkIQ==

Result

Alphabet
Standard (+ /)
Padding
2 equals signs
Decoded size
13 bytes
Decodes to text
Hello, world!

About Base64 Validator

Check that text is valid Base64 and see which alphabet it uses, whether the padding is right, the size it decodes to and, if it is text, what it says. A data: prefix is ignored.

FAQs

Is missing padding an error?

Most decoders accept it, so it is reported as a note, not a failure.

What is the URL-safe alphabet?

It uses - and _ instead of + and /.

Can I decode it to a file?

Use Base64 to File Converter.

Related tools