مشفر URL
URLs can only contain a limited set of ASCII characters. Special characters (spaces, accents, &, =, ?) must be percent-encoded (%20, %26, %3D) to be safely transmitted in URLs. Our tool encodes and decodes URLs and individual URL components (query parameters), handles both application/x-www-form-urlencoded and RFC 3986 encoding standards.
المدخلات
المخرجات
ترميز الرابط
URL encoding (percent encoding) converts special characters into a format safe for URLs. Each special character is replaced with a % followed by its hexadecimal ASCII code.
الأحرف المشفَّرة الشائعة:
- Space → %20
- ! → %21
- # → %23
- & → %26
- = → %3D
حول URL Encoder / Decoder
URLs can only contain a limited set of ASCII characters. Special characters (spaces, accents, &, =, ?) must be percent-encoded (%20, %26, %3D) to be safely transmitted in URLs. Our tool encodes and decodes URLs and individual URL components (query parameters), handles both application/x-www-form-urlencoded and RFC 3986 encoding standards.
كيفية الاستخدام
- Paste a URL or text string to encode it for safe use in a URL.
- Paste a percent-encoded URL or string to decode it to readable text.
- Use component mode to encode only the query string value, not the full URL structure.
- Toggle between full URL encoding and query parameter value encoding.
الصيغة والمنهجية
RFC 3986: encode everything except unreserved chars (A–Z a–z 0–9 - _ . ~). Each byte → %XX (uppercase hex). Space = %20. & = %26. = = %3D. JavaScript: encodeURIComponent() for query values; encodeURI() for full URLs (leaves : / ? # & = intact). PHP: urlencode() (spaces → +) vs rawurlencode() (spaces → %20).
حالات الاستخدام الشائعة
- Building API request URLs with special characters in query parameters
- Debugging: decoding an obfuscated or double-encoded URL in logs
- Form handling: understanding how browsers encode form data
- OAuth/SAML: redirect URIs and state parameters must be encoded
- Web scraping: handling international URLs with non-ASCII characters
الأسئلة الشائعة
أدوات ذات صلة
كل الأدوات →دمج هذه الأداة في موقعك
مجاني للاستخدام الشخصي والتجاري. فقط انسخ الكود أدناه.