Skip to content
Yunedia Tools

URL एनकोडर / डिकोडर

encodeURIComponent या encodeURI सिमेंटिक्स के साथ टेक्स्ट को URL-एनकोड और डिकोड करें, गलत इनपुट के लिए स्पष्ट त्रुटियों के साथ।

उपयोग कैसे करें

Pick a mode, then Encode or Decode. Component mode matches encodeURIComponent: it escapes everything including separators like & and =, which is what you want for a query parameter value. Full URL mode matches encodeURI: structural characters such as :// and ? are left intact.

टिप्पणियाँ

Everything runs in your browser. Decoding input with an invalid percent-escape such as "%ZZ" shows an error. Note that "+" is not converted to a space here — that rule belongs to application/x-www-form-urlencoded form bodies, not to percent-encoding itself.

अक्सर पूछे जाने वाले प्रश्न

How is non-ASCII text encoded?

As UTF-8 bytes, percent-escaped. For example "あ" becomes %E3%81%82.

Which mode should I use?

Component mode for a piece of a URL (a search term or parameter value), Full URL mode for a complete URL.