URL एनकोड / डीकोड
Query strings में safe use के लिए URLs को percent-encode करें, या encoded URLs को plain text में decode करें।
Every character that carries special meaning in a URL — spaces, ampersands, equals signs, hash marks — must be percent-encoded before it can safely travel as part of a query string or path segment. Skip this step and browsers, servers, or intermediary proxies will misparse your URL, silently dropping parameters or returning 400 errors that are frustratingly hard to trace.
This tool is essential when building redirect links, constructing API query strings by hand, debugging OAuth callback URLs, or inspecting encoded parameters pasted from server logs. Paste a raw string to encode it for safe embedding, or paste a mangled URL from a log file and decode it back to readable form in one click.
URL ऑनलाइन एनकोड और डीकोड कैसे करें
- 1
URL या String paste करें
Input panel में plain URL या percent-encoded string paste करें।
- 2
Encode या Decode चुनें
Encode और decode के बीच toggle करें। Encoding unsafe characters को %XX sequences में convert करती है। Decoding process reverse करती है।
- 3
Result copy करें
Encoded या decoded output copy करें। सारी processing ब्राउज़र में run होती है — कोई server requests नहीं।
How Percent-Encoding Works
RFC 3986 defines which characters are 'unreserved' in a URI — letters, digits, hyphens, underscores, tildes, and dots — and requires everything else to be encoded as a percent sign followed by two uppercase hex digits representing the byte value. A space becomes `%20`, an ampersand becomes `%26`, and a non-ASCII character like `é` is first UTF-8 encoded to two bytes (`0xC3 0xA9`) and then encoded as `%C3%A9`.
The older `application/x-www-form-urlencoded` scheme (used in HTML form posts) encodes spaces as `+` instead of `%20`, which is why decoding a `+` character requires context — in a query string value it is a space, but in a path segment it is a literal plus sign. This tool handles both conventions correctly.
FileCrank URL Encoder/Decoder क्यों इस्तेमाल करें?
- ✓ RFC 3986 standard encoding और form encoding (+) convention support करता है।
- ✓ Full URL mode scheme और slashes preserve करता है; component mode सब कुछ encode करता है।
- ✓ Unicode और emoji सहित non-ASCII characters handle करता है।
- ✓ पूरी तरह ब्राउज़र में चलता है — कोई data सर्वर पर नहीं जाता।
विशेषताएं और विनिर्देश
अक्सर पूछे जाने वाले प्रश्न
URL encoding और percent encoding में क्या फ़र्क है?
दोनों एक ही चीज़ हैं। 'Percent encoding' RFC 3986 का formal नाम है। 'URL encoding' developers का informal नाम है। दोनों unsafe characters को % और दो hex digits से replace करना describe करते हैं।
Spaces के लिए %20 कब use करें और + कब?
RFC 3986 follow करते हुए URL path segment या query value encode करते समय %20 use करें। + केवल application/x-www-form-urlencoded form data में use करें। ज़्यादातर APIs %20 expect करते हैं।
यह टूल पूरा URL encode करता है या सिर्फ एक component?
Default रूप से टूल URL component में unsafe हर character encode करता है। अगर scheme (https://) वाला full URL paste करें तो colon और slashes preserve होते हैं। सारे reserved characters encode करने के लिए component mode use करें।
मेरे encoded URL में slash की जगह %2F क्यों है?
आप full path segment encode कर रहे हैं। Value के अंदर slashes %2F के रूप में encode होने चाहिए। अगर slashes preserve चाहते हैं तो component mode की जगह standard URL mode use करें।
URL Encoding vs. HTML Entity Encoding
URL encoding and HTML entity encoding solve different problems. Percent-encoding makes data safe for URI syntax, while HTML entities make characters safe for HTML markup. An ampersand in a URL query string needs `%26`; inside an HTML attribute it needs `&`. Using the wrong encoding in the wrong context is a common source of XSS vulnerabilities and broken links, so choosing the right tool for the right layer matters.
संबंधित उपकरण
Base64 एनकोड और डीकोड
Text या binary data को Base64 में encode करें और Base64 strings को plain text में decode करें, ब्राउज़र में instantly।
HTML Entities एनकोड और डीकोड
Special characters को HTML entities में encode करें और HTML entities को plain text में decode करें।
Punycode कनवर्टर
Internationalized domain names को Punycode (xn--) में convert करें और Unicode में वापस लाएं।
FileCrank URL Encode/Decode RFC 3986 follow करते हुए plain text और percent-encoded URL strings के बीच convert करता है, पूरी तरह आपके ब्राउज़र में।
Advertisement