Encoding
URL Encoder / Decoder
Encode URL components or decode percent-encoded text in your browser.
When decoding, %20 preserves literal + signs. Choose + for form values to decode + as a space. Encoded %2B always becomes a literal +.
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.
- Choose %20 for URL components or + for form values. When decoding, %20 preserves literal plus signs; + for form values converts them to spaces.
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 represents spaces in URL components; some form-style query values use + instead. Select the matching Space format for encoding or decoding. When decoding, %20 preserves literal + signs, while + for form values converts them to spaces. Encoded %2B becomes a literal + in either format.
Should I encode a whole URL?
Usually no. Encode the path segment or query value that needs escaping so the URL structure remains intact.