Skip to main content

गड़बड़ टेक्स्ट को सेकंडों में साफ करें। लाइन ब्रेक, एक्सेंट, सूचियाँ, फोन नंबर, SMS और बहुत कुछ के लिए ब्राउज़र में तेज़ उपकरण। कोई खाता नहीं और कोई अपलोड नहीं।

All tools

URL Encode/Decode

Encode or decode URLs and query strings directly in your browser. No uploads or storage.

Chain this with other tools →New

How it works

URL encoding (percent-encoding) replaces unsafe ASCII characters with a '%' followed by two hexadecimal digits. For example, a space becomes '%20'. This tool uses encodeURIComponent() for encoding and decodeURIComponent() for decoding.

Common Use Cases

  • Encoding query parameters with special characters for URLs
  • Decoding URLs to see the original text values
  • Preparing data for API requests with special characters
  • Debugging URL-related issues in web applications

Frequently Asked Questions

What's the difference between encodeURI and encodeURIComponent?

encodeURI preserves URL structure characters (://?#), while encodeURIComponent encodes everything except alphanumerics and -_.~. This tool uses encodeURIComponent for complete encoding.

Why do spaces sometimes become '+' and sometimes '%20'?

application/x-www-form-urlencoded format uses '+' for spaces (common in HTML forms), while standard percent-encoding uses '%20'. This tool uses %20 (standard URL encoding).

संबंधित उपकरण

इन उपकरणों को मिलाकर अपने वर्कफ़्लो को बेहतर बनाएं

CleanTextLab – स्वच्छ टेक्स्ट के लिए हल्के उपकरण।
सब कुछ आपके ब्राउज़र में चलता है; कोई खाता या अपलोड नहीं।