URL Encode/Decode
Encode and decode URL text safely for query strings.
Use URL Encode/Decode
Result
Introduction
Encode text for use in URLs or decode encoded strings back to their original form. This helps prepare query parameter values containing spaces or reserved characters.
How it works
Encode reserved characters for safe use in URL values.
Decode percent-encoded strings into readable text.
Uses encodeURIComponent and decodeURIComponent for individual values rather than encoding an entire URL. Example: hola mundo&x → hola%20mundo%26x. When decoding, + stays +; it is not automatically treated as a form-encoded space. Invalid percent sequences produce an error.
Example
Encode a query parameter containing spaces or symbols before adding it to a URL.
FAQs
Can I use it for query parameters?
Yes. It is designed for encoding individual parameter values.
Does it detect invalid input?
Yes. Failed decoding produces an error.
Does it require installation?
No. It runs directly in your browser.