Encode or decode UTF-8 text. Load a file to convert its bytes to Base64 (encode). Paste Base64 and use download to save decoded bytes.
Need more than a template?
I build internal tools, integrations and full-stack products for startups and growing teams.
Full-stack engineering →Base64 turns bytes into letters, digits, plus and slash so binary data can travel through places that only carry text, such as JSON, email and URLs. This tool encodes text as UTF-8 and decodes it back. It can also read a file and give you its Base64, or turn Base64 back into a file you can download.
Hello, Aslam! → SGVsbG8sIEFzbGFtIQ==The == at the end is padding.
{"user":"aslam"} → eyJ1c2VyIjoiYXNsYW0ifQ==Base64 is how the parts of a JWT carry JSON.
Café → Q2Fmw6k=The text is converted to UTF-8 bytes first, so accented letters and emoji survive the round trip.
It hides nothing. Anyone can decode it in a second. If the data is private it needs real encryption.
Three bytes become four characters, so the encoded version is about a third larger.
URL-safe Base64 swaps + and / for - and _. This tool uses the standard alphabet, so if you paste a URL-safe string (JWT segments are one), replace - with + and _ with / first.
If the original was an image or a PDF, showing it as text gives garbage. Download the decoded bytes instead.