رمّز النص إلى Base64 أو فُكّ ترميز Base64 إلى نص. آمن مع UTF-8 واكتشاف تلقائي للاتجاه.
كيفية استخدام مرمّز Base64
اكتب نصًا للترميز، أو الصق Base64 لفك الترميز.
اضغط "تشغيل". يُكتشف الاتجاه تلقائيًا.
انسخ النتيجة من لوحة الإخراج.
Base64 represents binary or text data using just 64 printable ASCII characters (A-Z, a-z, 0-9, plus + and /), encoding every three bytes as four characters. That keeps data intact when it travels through systems that were built for text rather than raw bytes.
You see it everywhere: data URLs that embed an image directly in HTML or CSS, email attachments (MIME), the header and payload of a JSON Web Token, HTTP Basic authentication headers, and many API fields that need to carry binary data as a plain string.
This tool encodes text to Base64 and decodes Base64 back to text, choosing the direction automatically. It is UTF-8 safe, so accents, emoji and other Unicode characters survive the round trip without corruption, which the naive built-in browser functions do not guarantee on their own.
It is important to know what Base64 is not: it is an encoding, not encryption. Anyone can decode it instantly, so it provides zero security. Never use it to hide passwords, tokens or secrets. Its job is safe transport and representation, not confidentiality.
Base64 also has a size cost. The encoded output is about 33 percent larger than the original, because four characters stand in for every three bytes. That trade-off is usually worth it for compatibility, but it is why you would not Base64-encode large files when a real binary channel is available.
Everything runs in your browser, so the text you paste is never uploaded. To turn an image file into a Base64 data URL instead of plain text, use the dedicated Image to Base64 tool.
الأسئلة الشائعة
إذا بدا مدخلك بصيغة Base64 صالحة وأمكن فكّ ترميزه إلى نص UTF-8 مقروء، فيُفكّ ترميزه؛ وإلا فيُرمّز. وهذا يغطّي الحالات الشائعة دون مفتاح تبديل يدوي.
نعم. الترميز وفك الترميز آمنان مع UTF-8، فتتحوّل الرموز التعبيرية والحروف ذات العلامات وغيرها من أحرف Unicode ذهابًا وإيابًا بصورة صحيحة.
Base64 هو ترميز وليس تشفيرًا. ويمكن عكسه بسهولة تامة ولا يوفّر أي أمان. لا تستخدمه أبدًا لحماية البيانات الحساسة.
ضمّن هذه الأداة
أضف هذه الأداة إلى موقعك الخاص. انسخ المقتطف أدناه، ويبقى محدّثاً تلقائياً.
<iframe src="https://monu.tools/embed/ar/base64-encoder" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>أدوات ذات صلة
ترميز وفك ترميز عناوين URL ومكوّناتها بصيغة النسبة المئوية (percent-encoding)، بأمان مع UTF-8.
فُكّ ترميز رمز JSON Web Token لفحص رأسه وحمولته، مع أوقات انتهاء وإصدار بصيغة مقروءة. يعمل بالكامل داخل متصفحك، ولا تُرفع الرموز أبداً.
أنشئ تجزئات SHA-1 وSHA-256 وSHA-384 وSHA-512 لأي نص، مباشرة داخل متصفحك.
ولّد HMAC لرسالة ومفتاح سري باستخدام SHA-1 أو SHA-256 أو SHA-384 أو SHA-512، داخل متصفحك.