मुख्य सामग्री पर जाएं

Base64 एनकोड और डीकोड

Text या binary data को Base64 में encode करें और Base64 strings को plain text में decode करें, ब्राउज़र में instantly।

Input
0 chars | 0 bytes
Encode
Output
0 chars | 0 bytes

Base64 encoding is the go-to solution whenever you need to transmit binary data through a channel designed for text. Whether you are embedding images directly in CSS, passing authentication credentials in an HTTP header, or storing binary blobs in JSON payloads, Base64 gives you a reliable, universally understood encoding that survives every text-safe transport layer intact.

Developers reach for Base64 constantly — in JWTs, data URIs, MIME email attachments, and environment variables that carry certificates or keys. This tool lets you encode any UTF-8 string or paste a Base64 string and decode it instantly, so you can inspect tokens, debug API payloads, and verify encoded assets without leaving the browser.

Base64 ऑनलाइन एनकोड और डीकोड कैसे करें

  1. 1

    Input paste करें

    Input panel में plain text या Base64 string paste करें। Encode या decode choose करें।

  2. 2

    Result instantly पाएं

    Encoded या decoded output immediately appear होता है। टूल input validate करता है और किसी भी invalid Base64 character की exact position report करता है।

  3. 3

    Output copy करें

    Result clipboard पर copy करें। Standard Base64 (RFC 4648) और URL-safe Base64 variants support करता है।

How Base64 Encoding Works

Base64 works by splitting the input byte stream into 6-bit groups rather than the usual 8-bit bytes. Each 6-bit value maps to one of 64 printable ASCII characters — the uppercase and lowercase Latin alphabet, the digits 0–9, and the two symbols `+` and `/`. Because 6 bits fit into one character and 8 bits make one byte, every 3 bytes of input produce exactly 4 Base64 characters, expanding the data by roughly 33%.

When the input length is not a multiple of three, padding characters (`=`) are appended to keep the output length a multiple of four. URL-safe Base64 replaces `+` with `-` and `/` with `_` to avoid conflicts in query strings and filenames — important to know when decoding tokens from OAuth or JWT sources.

FileCrank Base64 Encoder/Decoder क्यों इस्तेमाल करें?

  • ✓ Standard Base64 (RFC 4648) और URL-safe Base64 support करता है।
  • ✓ Input validate करता है और invalid characters को position के साथ highlight करता है।
  • ✓ Text और binary data representations handle करता है।
  • ✓ पूरी तरह ब्राउज़र में चलता है — कोई data सर्वर पर नहीं जाता।

विशेषताएं और विनिर्देश

अधिकतम फ़ाइल आकार
100 MB तक
गोपनीयता
फ़ाइलें लगभग एक घंटे बाद हटा दी जाती हैं
मूल्य
मुफ़्त, कोई पंजीकरण नहीं
प्रोसेसिंग
100% क्लाइंट-साइड
एन्कोडिंग मानक
RFC 4648 — URL-safe variant supported
क्लिपबोर्ड समर्थन
One-click copy to clipboard
आपका data ब्राउज़र से बाहर नहीं जाता — सारी processing local है।कोई account या signup ज़रूरी नहीं।बिना usage limits के free।

अक्सर पूछे जाने वाले प्रश्न

Base64 encoding किस काम आती है?

Base64 binary data — images, fonts, files — को JSON, HTML, XML, और email जैसे text formats में embed करने के लिए use होती है। यह हर 3 bytes को 4 ASCII characters के रूप में encode करती है, जिससे size लगभग 33% बढ़ जाता है।

Standard Base64 और URL-safe Base64 में क्या फ़र्क है?

Standard Base64 + और / characters use करती है जिनका URLs में special meaning होता है। URL-safe Base64 उन्हें - और _ से replace करती है, जिससे output query strings और filenames में percent-encoding के बिना safe हो जाता है।

Decoded Base64 output garbled क्यों दिखती है?

Input likely binary data (image या file) था, UTF-8 text string नहीं। Base64-encoded binary binary bytes में decode होती है। अगर readable text expect कर रहे हैं तो original encoder ने non-text file encode की होगी।

यहाँ Base64 encoding के लिए कोई size limit है?

टूल displayed limit तक inputs handle करता है। Browser में Base64 encoding large files के लिए memory constraints relevant होने से पहले practically several megabytes तक काम करती है।

Base64 vs. Hex Encoding vs. Compression

Hex encoding is simpler — each byte becomes two hex digits — but it doubles the data size instead of adding only 33%. Base85 and Base91 are more compact than Base64 but far less universally supported. If size is the concern and both ends control the codec, consider zlib or gzip compression before encoding. Base64 wins on compatibility: every standard library in every language ships a Base64 codec, making it the safest default for interoperability.

FileCrank Base64 Encode/Decode text और binary data को Base64 format से और में convert करता है, RFC 4648 और URL-safe variants support करता है, पूरी तरह आपके ब्राउज़र में।

Advertisement

Ad