Quickly encode data into Base64 format or decode a Base64 string back to its original form.
Base64 encoding represents binary or text data using only 64 printable ASCII characters, which is why it shows up constantly in URLs, email attachments (MIME), Basic Auth headers, and JSON payloads that need to carry non-text-safe data.
No — Base64 is an encoding, not encryption. Anyone can decode a Base64 string instantly; it provides zero confidentiality. Don't use it to "hide" sensitive data.
Base64 strings must have a length that's a multiple of 4 (with = padding as needed) and only use valid Base64 characters (A-Z, a-z, 0-9, +, /). Malformed or truncated input will fail to decode.
URL-safe Base64 replaces + and / with - and _ so the output can be used directly in URLs without extra encoding. This tool uses standard Base64.