URL Encoder / Decoder

Encode and decode URLs using percent-encoding โ€” instantly and accurately

Component mode encodes query parameter values (encodes special chars including &, =, ?). Use for encoding individual values.
Output
Output will appear here...
Quick Examples โ€” click to try
Hello World & Co. email@example.com Hindi text + โ‚น Full URL Decode this
How to Use the URL Encoder/Decoder
1
Choose the mode โ€” Component (for values) or Full URL (for complete URLs)
2
Enter the text or URL you want to encode or decode
3
Click Encode URL or Decode URL to convert
4
Copy the output with one click
About URL Encoding

URL encoding (percent-encoding) converts characters that are not allowed in URLs into a % followed by two hexadecimal digits. For example, a space becomes %20, & becomes %26, and = becomes %3D. This ensures URLs work correctly across all browsers and servers.

Component encoding (encodeURIComponent) encodes all special characters including ?, &, =, and / โ€” used when encoding query parameter values. Full URL encoding (encodeURI) preserves URL structure characters like /, ?, &, and = โ€” used when encoding a complete URL.

Frequently Asked Questions
%20 is the URL-encoded representation of a space character. URLs cannot contain spaces, so they must be encoded. You may also see + used instead of %20 in query strings (form submissions), but %20 is the standard.
Characters that must be encoded include spaces, &, =, ?, #, %, +, and non-ASCII characters like Hindi, Chinese, Arabic text, and symbols like โ‚น. Letters, digits, -, _, ., and ~ do not need encoding.
Use encodeURIComponent when encoding individual query parameter values (e.g. search terms, user input). Use encodeURI when encoding a complete URL โ€” it preserves /, ?, &, = which are needed for URL structure.