Base64 & URL Encoder
Encode and decode Base64 and URL text safely, including Urdu and other Unicode text, or convert a small file to a Base64 data URL.
Use the Base64 & URL Encoder
Loading tool…
How to use the Base64 & URL Encoder
- Choose Base64 text, URL encode or File to Base64.
- Paste your text, or choose a file.
- Press Encode or Decode.
- Copy the output.
About this tool
Base64 here is UTF-8 safe, so Urdu, Arabic and emoji text encode and decode correctly. URL encoding has two styles: one for a single query value and one that keeps a full web address readable.
Free to use. Your inputs are processed in your browser and are not sent to our servers. Results are for general information; see the disclaimer.
Frequently asked questions
Is Base64 encryption?
No. Base64 only changes how data is written; anyone can decode it. Never use it to protect passwords or private data.
When should I use URL-safe Base64?
When the result goes into a web address or file name, because it avoids the + and / characters.
Does it work with Urdu text?
Yes. Text is encoded as UTF-8 first, so Urdu and other languages decode back exactly.