Encoding
URL Encoder / Decoder
Encode URL components or decode percent-encoded text in your browser.
Examples
hello worldbecomeshello%20worldTom & JerrybecomesTom%20%26%20Jerryq=red shoescan useq%3Dred%20shoesas a component.
How to use URL Encoder / Decoder
Best for
- Encoding URL components, query values, and reserved characters.
- Decoding percent-encoded text into readable text.
- Checking how spaces, ampersands, and equals signs are represented in a URL component.
Steps
- Paste a URL component or encoded string into the input box.
- Choose Encode or Decode.
- For encoding, choose whether spaces become %20 or plus signs for form-style values.
Notes
- Usually encode individual URL components, not an entire URL.
- Use HTML entities for HTML text, not for URL query values.
FAQ
Should spaces be encoded as %20 or plus signs?
%20 is the common percent-encoded form for spaces in URL components. Plus signs are used in some form-style query values.
Should I encode a whole URL?
Usually no. Encode the path segment or query value that needs escaping so the URL structure remains intact.