How to use Base64 Decoder
How do I use it?
- Enter Base64 to decode it to the original UTF-8 text.
- Select Base64URL if the string contains - or _.
- Decode the input, then copy or download the text. Content that is not UTF-8 can be downloaded as raw bytes.
How it works and example
Four Base64 characters represent up to three bytes. Standard Base64 uses + and /. Base64URL uses - and _ instead.
5Lit5paH decodes to “中文”. /w== is the byte FF and is not valid UTF-8.
Input limits
- ASCII whitespace is allowed. Standard Base64 requires correct padding. Base64URL also accepts missing padding. Invalid Base64 and invalid UTF-8 have separate error messages.