Base64 Encode / Decode

Paste text below, then encode it to Base64 or decode a Base64 string back to text.

Base64Url uses '-' and '_' instead of '+' and '/', with no padding. This is the form used inside JWTs.
When the decoded text starts with '{', it is indented so the JSON is easier to read.