What is Base64?
Base64 represents binary data with 64 printable characters, so it can travel safely in JSON, XML, email or HTTP headers. It is an encoding, not encryption: anyone can decode it.
Base64 vs Base64URL
Base64URL replaces + and / with - and _ and usually drops the = padding, so the result can be used in URLs and file names. JWTs use Base64URL. The decoder here accepts both forms.