Base64 & URL Encoder

Encode or decode Base64 and URL strings

Scheme
Encoded
Result appears here…

Base64 is encoding, not encryption

Base64 represents binary data using 64 printable ASCII characters, so it can travel through channels that expect text — email attachments, JSON payloads, data URIs. Anyone can decode it instantly. It offers no security whatsoever, so never use it to protect a password, token or key.

It also costs space: every 3 bytes become 4 characters, roughly a 33% increase, plus = padding to reach a multiple of four.

URL encoding solves a different problem

URL (percent) encoding escapes characters that have special meaning in a URL — ?, &, =, / and spaces. A space becomes %20. Use it for query-string values; use Base64 for binary data.

Both directions here are fully Unicode-safe: text is converted to UTF-8 bytes before encoding, so emoji and non-Latin scripts round-trip correctly rather than throwing an error.

Other text tools