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 APIs (TextEncoder፣ btoa፣ atob) በመጠቀም ይከናወናል። ምንም አይሰቀልም፣ አይመዘገብም ወይም አይከማችም።
መደበኛ Base64 በ URLs ውስጥ ልዩ ትርጉም ያላቸውን + እና / ይጠቀማል። 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) ይቀያይሩ — + ን በ - እና / ን በ _ ይተካል በ URLs፣ የፋይል ስሞች፣ JWT ወዘተ ለመጠቀም።
ለማንኛውም ቋንቋ፣ ኢሞጂ፣ CJK፣ RTL ስክሪፕቶች ሙሉ Unicode ድጋፍ። ምንም እንዳይበላሽ TextEncoder/TextDecoder ይጠቀማል።
አማራጭ MIME-style የመስመር መጠቅለያ በ 64 ወይም 76 ቁምፊዎች፣ እና አማራጭ 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 APIs (TextEncoder፣ btoa፣ atob) በመጠቀም ይከናወናል። ምንም አይሰቀልም፣ አይመዘገብም ወይም አይከማችም።
መደበኛ Base64 በ URLs ውስጥ ልዩ ትርጉም ያላቸውን + እና / ይጠቀማል። URL-safe Base64 (RFC 4648 §5) በቅደም ተከተል በ - እና _ ይተካቸዋል፣ ስለዚህ ውጤቱ በ URLs፣ የፋይል ስሞች እና እንደ JWT ባሉ ቶከኖች ውስጥ ደህንነቱ በተጠበቀ ሁኔታ ሊጠቀም ይችላል።
አዎ። ከመኮድ በፊት ጽሑፍዎን ወደ UTF-8 ባይቶች ለመቀየር TextEncoder እንጠቀማለን፣ እና የተዲኮድ ባይቶችን ለመመለስ TextDecoder። ማንኛውም Unicode ቁምፊ — CJK፣ ኢሞጂ፣ RTL ስክሪፕቶች — በትክክል ይዞር።
አዎ። ወደ የፋይል ሁነታ ይቀይሩ እና ማንኛውንም ፋይል ይጣሉ። መሣሪያው የ Base64 ሕብረቁምፊ፣ በ HTML/CSS ውስጥ ሊለጥፉት የሚችሉት data URL ወይም.txt ማውረድ ይሰጥዎታል። የፋይል መጠን በአሳሽ ማህደረ ትውስታ የተገደበ ነው (ብዙውን ጊዜ እስከ ብዙ መቶ MB ይሰራል)።
መደበኛ Base64 ውጤቱን በ '=' ቁምፊዎች ይሞላል ስለዚህ ርዝመቱ የ 4 ብዙ ነው። አንዳንድ አጠቃቀሞች (JWT፣ URL ቶከኖች) ቦታን ለመቆጠብ padding ያስወግዳሉ፣ ዲኮደሩም ሊያገግመው ይችላል። የኋለኛውን = ለማስወገድ 'ያለ padding' ይፈትሹ።