What is a URL Encoder/Decoder?
A URL encoder/decoder is a free online tool for encoding and decoding URLs and query parameters. It supports both component encoding and full URI encoding modes. All processing happens in the browser.
How to encode a URL
Paste the URL or text into the input field. Select the encode mode (component or full URI). The tool converts special characters into percent-encoded format.
How to decode a URL
Paste the encoded URL into the input field. Select the decode mode. The tool converts percent-encoded characters back to their original format.
Understanding the encoding modes
Component encoding (encodeURIComponent) encodes all characters except alphanumerics and a few special characters. Full URI encoding (encodeURI) preserves URL structure characters and only encodes characters that are not allowed in URLs.
Common use cases
- Encoding URL query parameters
- Encoding URL path segments
- Safely including user input in URLs
- Decoding received URLs
- Preparing parameters for API requests