Base64 and URL encoder
Paste text or an encoded string. The result appears straight away and copies with one click.
Result
- Input bytes (UTF-8)
- 26
- Output characters
- 36
WmHFvMOzxYLEhyBnxJnFm2zEhSBqYcW6xYQ=
What Base64 is for
Base64 writes any bytes using 64 safe characters (A–Z, a–z, 0–9, + and /). It’s used in email attachments, JSON and XML data, HTTP headers (Basic Auth) and images embedded in HTML (data:). Every 3 bytes become 4 characters, so the result is about 33% longer. It’s an encoding, not encryption: anyone can read it.
Base64URL
The variant for URLs and JWT tokens uses - and _ instead of + and / and drops the trailing =. Decoding accepts both.
URL encoding
Not every character can appear in a URL as is. A space becomes %20 (or + in forms), and a non-ASCII letter such as é becomes its UTF-8 bytes, %C3%A9. Encode a part of the address, such as a parameter value, not the whole URL with https://.
Need more?
Kalkio covers what is needed most often. For more advanced work we recommend:
- CyberChef – hundreds of data operations chained together: encodings, checksums, compression (runs in your browser)
Common questions
Is Base64 encryption?
No. Base64 only changes how data is written, and anyone can decode it.
Is the text I paste sent anywhere?
No. Encoding happens in your browser, and the text doesn’t even go into the page address.