About the URL Encode & Decode
URLs can only contain a limited set of characters. Spaces, ampersands, non-English letters and symbols must be percent-encoded (a space becomes %20) before they can safely travel in a link or query string.
Use component mode to encode a single value, such as a search term you are placing after ?q=. Use full-URL mode to encode a complete address while keeping its structure (: / ? # &) intact.
How to use it
- Pick a mode: component, full URL, or decode.
- Paste your text or URL.
- Copy the converted result.
Frequently asked questions
What is the difference between component and full-URL encoding?
Component encoding (encodeURIComponent) escapes everything including / ? & =, which suits a single parameter value. Full-URL encoding (encodeURI) leaves those structural characters alone.
Why does a space become %20 or +?
%20 is standard percent-encoding. The + form is only used for spaces in application/x-www-form-urlencoded data such as HTML form submissions.
Why do I get a 'malformed' error when decoding?
A % sign must be followed by two hexadecimal digits. A stray % in the input breaks decoding.
