Embedding small images in CSS
Convert a 2 KB icon to a Data URI to inline it in a stylesheet — saves an HTTP request. iKit produces the full data:image/png;base64,... string ready to paste.
टेक्स्ट या फ़ाइलों को Base64 में एन्कोड करें, या Base64 को वापस डिकोड करें। URL-safe वेरिएंट, UTF-8 सुरक्षित, केवल क्लाइंट-साइड।
नहीं। सभी एन्कोडिंग और डिकोडिंग आपके ब्राउज़र में अंतर्निहित JavaScript API (TextEncoder, btoa, atob) का उपयोग करके होती है। कुछ भी अपलोड, लॉग या संग्रहीत नहीं होता।
मानक Base64 + और / का उपयोग करता है जिनका URL में विशेष अर्थ होता है। URL-safe Base64 (RFC 4648 §5) उन्हें क्रमशः - और _ से बदल देता है, ताकि आउटपुट URLs, फ़ाइल नामों और JWT जैसे टोकन में सुरक्षित रूप से उपयोग किया जा सके।
यहाँ फ़ाइल ड्रॉप करें, या ब्राउज़ करने के लिए क्लिक करें
एन्कोड: कोई भी फ़ाइल → Base64 स्ट्रिंग। डिकोड: मूल फ़ाइल पुनर्प्राप्त करने के लिए Base64 वाली.txt पेस्ट करें।
तेज़, सटीक, हर वह विकल्प जिसकी आप अपेक्षा करते हैं।
किसी भी टेक्स्ट या फ़ाइल को Base64 में बदलें, या Base64 को मूल डेटा में वापस डिकोड करें। टाइप करते समय तुरंत पूर्वावलोकन।
सभी एन्कोडिंग और डिकोडिंग आपके ब्राउज़र में होती है। आपके टेक्स्ट और फ़ाइलें कभी किसी सर्वर पर अपलोड नहीं होतीं।
कोई भी फ़ाइल ड्रॉप करें ताकि उसकी Base64 स्ट्रिंग, data URL (data:mime;base64,…) मिले, या Base64 स्ट्रिंग को बाइनरी फ़ाइल में डिकोड करें।
URL-safe Base64 (Base64URL, RFC 4648) टॉगल करें — URL, फ़ाइल नाम, JWT आदि में उपयोग के लिए + को - और / को _ से बदल देता है।
किसी भी भाषा, इमोजी, CJK, RTL लिपियों के लिए पूर्ण Unicode समर्थन। TextEncoder/TextDecoder का उपयोग करता है ताकि कुछ भी खराब न हो।
64 या 76 वर्णों पर वैकल्पिक MIME-शैली लाइन रैप, और वैकल्पिक padding स्ट्रिप — हस्ताक्षरों, cookies, कॉम्पैक्ट टोकन के लिए।
Native browser APIs, no upload, lossless round-trip for any text or file.
Toggle between text mode (paste any string) and file mode (drop any file up to ~50 MB). Text is processed via TextEncoder for proper UTF-8 handling — emoji and non-ASCII characters round-trip correctly. Files are read as ArrayBuffer.
JavaScript's built-in btoa encodes the bytes to Base64. For URL-safe variant we replace + with - and / with _, and optionally strip padding (the format JWT uses). For very large files we chunk encoding to avoid blocking the main thread.
Paste a Base64 string and we run atob to decode. If you encoded a binary file originally, we offer a download with the original MIME type; if you encoded text, we decode it back via TextDecoder. Both directions are lossless.
One-click copy puts the Base64 on your clipboard. Or download as a .txt file. Or generate a data:image/png;base64,... URI for inline embedding in CSS / HTML — assembled in your browser.
What people actually use Base64 for, and how iKit fits in.
Convert a 2 KB icon to a Data URI to inline it in a stylesheet — saves an HTTP request. iKit produces the full data:image/png;base64,... string ready to paste.
Decode the middle segment of a JWT to inspect the claims. Pair this with iKit's JSON Decoder for a clean two-step debugging flow that never sends the token to a server.
When a transactional email API requires Base64-encoded attachments, drop the file into iKit, copy the result, paste into your request body. No CLI base64 dance, no platform differences (macOS vs Linux flags).
Decode a PEM block (after stripping the BEGIN/END lines) to inspect the raw DER bytes. Or encode a binary key into PEM for tools that only accept text format.
Base64 is the default carrier for sensitive payloads — JWTs containing user IDs and permissions, embedded customer photos, internal API responses. A server-side Base64 tool sees every byte you paste. iKit's encoder runs purely in JavaScript, so nothing leaves your browser tab.
fetch or XHR calls during encode or decode.
iKit ब्लॉग से विस्तृत ट्यूटोरियल और टूल तुलनाएं।
नहीं। सभी एन्कोडिंग और डिकोडिंग आपके ब्राउज़र में अंतर्निहित JavaScript API (TextEncoder, btoa, atob) का उपयोग करके होती है। कुछ भी अपलोड, लॉग या संग्रहीत नहीं होता।
मानक Base64 + और / का उपयोग करता है जिनका URL में विशेष अर्थ होता है। URL-safe Base64 (RFC 4648 §5) उन्हें क्रमशः - और _ से बदल देता है, ताकि आउटपुट URLs, फ़ाइल नामों और JWT जैसे टोकन में सुरक्षित रूप से उपयोग किया जा सके।
हाँ। हम एन्कोडिंग से पहले आपके टेक्स्ट को UTF-8 बाइट्स में बदलने के लिए TextEncoder का उपयोग करते हैं, और डिकोडेड बाइट्स को वापस बदलने के लिए TextDecoder का उपयोग करते हैं। कोई भी Unicode वर्ण — CJK, इमोजी, RTL लिपियाँ — सही ढंग से राउंड-ट्रिप करते हैं।
हाँ। फ़ाइल मोड पर स्विच करें और कोई भी फ़ाइल ड्रॉप करें। टूल आपको Base64 स्ट्रिंग, HTML/CSS में पेस्ट करने योग्य data URL, या.txt डाउनलोड देता है। फ़ाइल का आकार ब्राउज़र मेमोरी तक सीमित है (आमतौर पर कई सौ MB तक काम करता है)।
मानक Base64 आउटपुट को '=' वर्णों से pad करता है ताकि इसकी लंबाई 4 का गुणक हो। कुछ उपयोग (JWT, URL टोकन) स्थान बचाने के लिए padding हटा देते हैं; डिकोडर इसे पुनर्निर्मित कर सकता है। अनुगामी = हटाने के लिए 'कोई padding नहीं' चेक करें।