🔗
مشفّر/مفكّك URL
شفّر وفك تشفير عناوين URL وسلاسل الاستعلام للتعامل بأمان مع الأحرف الخاصة في عناوين الويب.
Advertisement
📋 كيفية الاستخدام
- اختر وضع ترميز أو فك التشفير.
- للترميز: الصق عنوان URL أو النص الذي يحتوي على أحرف خاصة.
- لفك التشفير: الصق سلسلة URL المشفرة بالنسبة المئوية.
- انقر على ترميز/فك التشفير — تظهر النتائج فوراً.
- انسخ عنوان URL المشفر أو المفكوك لاستخدامه في تطبيقك أو متصفحك.
عن هذه الأداة
مشفّر/فكّ تشفير URL
حوّل عناوين URL وسلاسل الاستعلام إلى صيغة مشفرة للتعامل الآمن مع الأحرف الخاصة، وفك تشفير عناوين URL المشفرة إلى نص مقروء.
لماذا تشفير عناوين URL؟
لا يمكن لعناوين URL أن تحتوي إلا على مجموعة محدودة من أحرف ASCII. يجب ترميز المسافات والأحرف المعلّمة والرموز بالنسبة المئوية (%20 و%26 وما إلى ذلك) لنقلها بشكل صحيح.
❓ الأسئلة الشائعة
Percent-encoding replaces unsafe URL characters with a % sign followed by their two-digit hexadecimal code. For example, a space becomes %20 and & becomes %26.
%20 is the standard percent-encoding for a space character in URLs. The + sign represents a space only in application/x-www-form-urlencoded format (HTML form submissions), not in general URL paths.
Letters (A-Z, a-z), digits (0-9), and the characters - _ . ~ are "unreserved" and safe in URLs without encoding. All other characters should be percent-encoded.
Non-ASCII characters are first encoded to UTF-8 bytes, then each byte is percent-encoded. For example, the letter é (U+00E9) becomes %C3%A9.
encodeURIComponent() encodes all characters except A-Z, a-z, 0-9, -, _, ., !, ~, *, ', (, ). It is used to encode individual URL components like query parameter values.
Yes. The decoder handles the entire URL and decodes all percent-encoded sequences, including those representing UTF-8 multi-byte characters.
🔗 أدوات ذات صلة
Advertisement
300×600