programer.tips, another cool thing from @nghuuphuoc!

base64 validator

Validate a base64 encoded string

Validators

Improve it on Github

Options

Option HTML attribute Type Description
message data-bv-base64-message String The error message
When setting options via HTML attributes, remember to enable the validator by setting data-bv-base64="true".