URL Encoder / Decoder
Encode and decode URLs and URI components. Free online URL encoder and decoder with support for query strings and special characters.
About URL Encoder / Decoder
URL encoding (also known as percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI). This tool helps you encode and decode URLs and URI components.
Features
- Encode full URLs with
encodeURI() - Decode full URLs with
decodeURI() - Encode URI components with
encodeURIComponent() - Decode URI components with
decodeURIComponent() - Handles special characters and UTF-8 encoding
When to Use
- Encode URL: When you need to encode a complete URL (preserves :, /, ?, &, =)
- Encode Component: When encoding query parameters or path segments (encodes all special chars)
- Decode URL: To decode a complete encoded URL
- Decode Component: To decode individual URI components
Examples
Original: hello world & special chars!
Encoded Component: hello%20world%20%26%20special%20chars!