Base64 Encoder / Decoder
Turn text or files into Base64 and back again. Works with Urdu, Hindi and emoji, and creates data URIs for images.
How it works
- Choose Text, File to Base64 or Base64 to file.
- Paste your text or choose a file.
- Copy the result or download the decoded file.
About this tool
Base64 writes any data using only letters, numbers and a few symbols, so it can travel safely inside emails, JSON, HTML and CSS. A data URI lets you put a small image directly inside your page or style sheet.
This tool handles real-world text correctly, including Urdu and emoji. URL-safe mode swaps the symbols that cause trouble in links. Base64 is not encryption, so do not use it to hide secrets.
Questions
Is Base64 encryption?
No. Anyone can decode it. It only changes how data is written.
What is URL-safe Base64?
It replaces + and / with - and _ and drops the = padding, so the text can be used inside a web address.
Can I decode an image?
Yes. Paste the Base64 or a data:image string in the Base64 to file tab to preview it and download it.
Why does decoding say it is not text?
The Base64 holds a file or image, not words. Use the Base64 to file tab.