About This Tool

What is مشفر / فك مشفر URL?

A tool for encoding and decoding URL strings. URL encoding is essential when web addresses contain special characters, spaces, or non-ASCII characters like CJK text. It ensures safe transmission of query parameters in web requests.

How to Use

  1. Enter the string you want to encode or decode in the input area.
  2. Click 'Encode' to convert special characters to percent-encoding (%XX).
  3. Click 'Decode' to restore encoded strings to their original characters.
  4. Copy the result for use in your project.

Key Features

  • Standard URL encoding based on encodeURIComponent
  • Full support for non-ASCII characters including CJK
  • Bidirectional encode/decode conversion
  • Real-time result display

Tips

  • Special characters like &, =, ?, and # must be encoded in URLs to work as intended.
  • Spaces are converted to %20 or + during URL encoding.
  • Always encode user input in query parameters when making API calls.

مشفر / فك مشفر URL

ترميز سلاسل URL أو فك ترميزها


Frequently Asked Questions

الفرق بين encodeURI() و encodeURIComponent()؟

encodeURI() يحافظ على :, /, ? و #. encodeURIComponent() يشفّر كل شيء، مناسب لقيم المعاملات.

لماذا المسافات تظهر كـ %20 أو +؟

%20 هو المعيار في URLs. + فقط في application/x-www-form-urlencoded. %20 أكثر شمولية.

هل يجب ترميز الأحرف غير الإنجليزية؟

نعم. الأحرف غير ASCII يجب ترميزها. المتصفح يعرض المفكوكة لكن HTTP يستخدم المرمّزة.


Related Tools