Base64 এনকোড / ডিকোডBase64 encode / decode

Base64 encode / decode

লেখাকে Base64-এ বদলান বা Base64 থেকে মূল লেখা ফেরত আনুন। বাংলা অক্ষর UTF-8 ধরে সঠিকভাবে সামলানো হয়, URL-সেফ রূপও পাওয়া যায়।Encode or decode Base64, safe for Bangla and other Unicode text.

💻 ডেভেলপার টুলDeveloper Tools

সব হিসাব আপনার ব্রাউজারেই হয়, কিছুই সার্ভারে যায় না।

উদাহরণ দিয়ে দেখুন:

কীভাবে কাজ করেHow it works

লেখাকে আগে UTF-8 বাইটে বদলানো হয় (বাংলা অক্ষর ৩ বাইট), তারপর প্রতি ৩ বাইটকে ৪টা Base64 অক্ষরে লেখা হয়। ডিকোডে ফাঁক, নতুন লাইন, URL-সেফ রূপ ও প্যাডিং-ছাড়া ইনপুটও চলে। ডিকোড করা বাইট UTF-8 লেখা না হলে (যেমন ছবি) জানিয়ে দেয়। Base64 এনক্রিপশন নয় — যে কেউ ডিকোড করতে পারে।

Text is first converted to UTF-8 bytes (Bengali characters take 3 bytes), then every 3 bytes are written as 4 Base64 characters. Decoding handles inputs with spaces, newlines, URL-safe variants, and without padding. If the decoded bytes do not form valid UTF-8 text (e.g., an image), it is reported accordingly. Base64 is not encryption — anyone can decode it.

হিসাবের উদাহরণWorked examples

বাংলা এনকোডEncode Bengali Text

ইনপুটInput
আমার সোনার বাংলা
কাজAction
এনকোড (লেখা → Base64)Encode text → Base64
URL-সেফ (+ / এর বদলে - _)URL-safe (- and _ instead of + and /)
নাNo
শেষের = প্যাডিং বাদ দিনRemove = padding
নাNo
দৈর্ঘ্যLength
৬০60

ডিকোডDecode

ইনপুটInput
SGVsbG8sIFdvcmxkIQ==
কাজAction
ডিকোড (Base64 → লেখা)Decode Base64 → text
URL-সেফ (+ / এর বদলে - _)URL-safe (- and _ instead of + and /)
নাNo
শেষের = প্যাডিং বাদ দিনRemove = padding
নাNo
ডিকোড হওয়া বাইটDecoded bytes
১৩13

সাধারণ প্রশ্নFrequently asked questions

Base64 কি নিরাপদ গোপন করার উপায়?Is Base64 a safe way to hide informationBDT

না। এটা শুধু রূপান্তর, এনক্রিপশন নয়। পাসওয়ার্ড বা গোপন তথ্য Base64-এ রাখলে তা গোপন থাকে না।No. It is only a transformation, not encryption. Storing passwords or sensitive data in Base64 does not keep them hidden.

বাংলা লেখা ডিকোড করলে প্রশ্নবোধক আসছে কেন?Why does decoding Bengali text show question marksBDT

আসল এনকোডিং UTF-8 না হলে এমন হয়। এই টুল UTF-8 ছাড়া অন্য কিছু পেলে ভুল বার্তা দেখায়, ভাঙা লেখা নয়।This happens if the original encoding was not UTF-8. This tool displays an error message if it receives anything other than UTF-8; it is not breaking the text.

💻 ডেভেলপার টুল — সব টুল দেখুনDeveloper Tools — view all tools →