Base64 Encoder & Decoder
Convert any string to Base64 or decode Base64 back to plain text. Standard or URL-safe.
Decode error
Standard vs URL-safe
Standard Base64 uses +, /, and = padding. URL-safe Base64 (RFC 4648 §5) uses - instead of +, _ instead of /, and may omit padding. Use URL-safe when embedding the output in a URL or filename.
FAQ
Why am I getting decode errors?
Check that input length is a multiple of 4 (with
= padding) for standard Base64. URL-safe variants may not have padding — try the URL-safe toggle.Can this handle binary files?
This tool handles strings only. For files, use the OS clipboard or a file-aware tool.