Browser tools

Base64 encode and decode

Convert UTF-8 text to standard Base64 or Base64url, and decode either format back to text. Your input stays in this tab and is never uploaded.

Decoding accepts optional padding and ignores ASCII whitespace. Limits are 256 KiB to encode and 1 MiB to decode.

Standard Base64 and Base64url

Standard Base64 uses + and / and adds = padding when needed. Base64url uses - and _ and this tool emits it without padding.

Base64 is a reversible text encoding. This tool handles UTF-8 text only.