Encodes and decodes text in four formats: standard Base64, URL-safe Base64URL, URL percent-encoding and hexadecimal. Text is converted to UTF-8 bytes first, so Bangla, Arabic and emoji decode back exactly, and the result updates as you type.
Base64 turns bytes into 64 safe characters (A–Z, a–z, 0–9, + and /), which is how binary data travels inside JSON, emails and data URLs. Base64URL is the same idea with - and _ in place of + and / and no = padding, which is the form used in JWT tokens and URL parameters. URL encoding (percent-encoding) is different again: it leaves plain letters alone and writes spaces and special characters as %20, %E0 and so on.
A common trap is that the browser's built-in btoa() fails on any character outside Latin-1. This tool first converts your text to UTF-8 bytes, so a word like সময় becomes valid Base64 and decodes back to the same Bangla text.
Choose Encode or Decode
Encode turns plain text into the chosen format; Decode turns it back.
Pick a format
Base64, Base64URL, URL component or Hex.
Type or paste
The output updates live with its length. If the input cannot be decoded, an error message replaces the output.
Copy the result
Press Copy to put the output on your clipboard.
Example: Hello, Shomoy!
Encoding "Hello, Shomoy!" as Base64 gives SGVsbG8sIFNob21veSE= (20 characters). Base64URL gives the same without the trailing =. As a URL component it becomes Hello%2C%20Shomoy!, and in hex it is 48656c6c6f2c2053686f6d6f7921.
এই টুলে লেখা Base64, Base64URL, URL এনকোডিং বা হেক্সে রূপান্তর করা যায়, আবার উল্টোটাও করা যায়। লেখা আগে UTF-8-এ নেওয়া হয় বলে বাংলা লেখাও ঠিকঠাক এনকোড হয়ে আবার একই রকম ফিরে আসে। ডেভেলপাররা JWT টোকেন পড়া, লিংকের প্যারামিটার বানানো বা API হেডার তৈরিতে এটা কাজে লাগাতে পারেন। মনে রাখবেন, Base64 কোনো এনক্রিপশন নয়।
হ্যাঁ। বাংলা লিখে Encode চাপুন, Decode করলে হুবহু একই বাংলা লেখা ফিরে পাবেন।
না। যে কেউ সহজেই ডিকোড করতে পারে। এটা শুধু ডেটা লেখার একটা পদ্ধতি, লুকানোর নয়।
No. Base64 only changes how bytes are written; anyone can decode it in a second. Never use it to hide passwords or personal data.
Base64URL replaces + with - and / with _, and drops the = padding, so the result can sit inside a URL or file name without further escaping. JWTs use Base64URL.
Either the input is not valid Base64 (wrong characters or length), or it decodes to bytes that are not UTF-8 text, such as an image. This tool only shows decoded text.
Yes. Text is converted to UTF-8 bytes before encoding and decoded with a strict UTF-8 decoder, so Bangla, Arabic and emoji come back exactly as typed.
Use URL encoding when you want a readable value in a link, such as a search term. Use Base64 or Base64URL when you need to carry arbitrary data in a compact, fixed alphabet.
No. Conversion runs in your browser. Your last input and settings are kept in the browser's local storage on this device.
More like this in Free tools. Need a version built for your business? Ask us.