Base64 कन्वर्टर
टेक्स्ट और फ़ाइलों को Base64 प्रारूप में एन्कोड करें
Base64 Converter Controls
इनपुट टेक्स्ट/डेटा
Base64 आउटपुट
Base64 एन्कोड डेटा यहाँ दिखाई देगा
टेक्स्ट और फ़ाइलों को Base64 प्रारूप में एन्कोड करें
Base64 एन्कोड डेटा यहाँ दिखाई देगा
Base64 encoder/decoder एक ऑनलाइन टूल है जो binary data को ASCII string में बदलता है ताकि उसे email, JSON, query strings या data URIs में सुरक्षित रूप से भेजा जा सके। इस Base64 converter से files, images या text encode करें या Base64 string को decode करके original data प्राप्त करें। Base64 encryption नहीं है; यह reversible encoding है जो लगभग 33% size बढ़ाता है।
Algorithm input को 3-byte chunks में बांटता है और 64-character alphabet (A–Z, a–z, 0–9, +, /) का उपयोग करता है। यदि length 3 का multiple नहीं है, तो = padding जोड़ा जाता है। URL-safe variant +/ की जगह -_ का उपयोग करता है। यह टूल दोनों variants को support करता है।
छोटा PNG या SVG encode करके CSS या HTML में data URI के रूप में embed करें; JSON payload से Base64 string decode करके attachment recover करें; debugging के लिए random bytes को Base64 token में बदलें। उदाहरण: data:image/png;base64,iVBORw0KGgo... को browser में paste करके image देखें।
Text के लिए UTF-8 encoding का उपयोग करें ताकि international characters सुरक्षित रहें। Files के लिए data browser में locally process होता है। Text paste करें या file upload करें, encode/decode चुनें, फिर copy या .txt file के रूप में download करें।
Base64 लगभग एक-तिहाई size बढ़ाता है, जो large assets के लिए bandwidth प्रभावित कर सकता है। इसे security control के रूप में उपयोग न करें—confidentiality के लिए encryption और integrity के लिए signatures या MACs का उपयोग करें।
Base64 छोटे assets, data URLs और debugging के लिए उपयोगी है। Production में उपयोग करते समय security और size trade-offs ध्यान में रखें।