URL Encode and Decode Online
For engineers building API calls, webhooks and redirect links. Encode a whole URL, encode a single query parameter safely, or decode a mangled link to see what it really contains.
Close the gaps with real-world projects
Build industry projects on ByteLabs and add verified proof of your skills to your public profile.
How to use the URL Encoder and Decoder
- Paste the text or URL into the box.
- Click Encode to escape a full URL while keeping characters like : / ? and &.
- Click Encode component to escape everything, for a single query value.
- Click Decode to turn percent-encoded text back into readable text.
An example, step by step (example only)
You enter
https://cbc.in/search?q=dev ops&lang=en (Encode)
The tool shows
https://cbc.in/search?q=dev%20ops&lang=en
Questions about the URL Encoder and Decoder
What is the difference between Encode and Encode component?
Encode uses encodeURI and leaves URL structure characters like : / ? & = intact. Encode component uses encodeURIComponent and escapes those too, which is what you want for one parameter value.
Why does a space become %20 and not a plus sign?
Both buttons follow the URL standard and use %20. The plus sign for spaces only comes from HTML form encoding.
Why does Decode show an error?
Decoding fails when the text has a percent sign not followed by two valid hex digits, such as a literal 50%. Encode that percent sign as %25 first.
Is the URL Encoder and Decoder free and private?
Yes. It is free, needs no sign-up and runs entirely in your browser, so what you type is not uploaded. You only sign in if you want to email a result to yourself or save it to your CareerByteCode profile.