URL Encoder and Decoder
Convert spaces and reserved characters to percent-encoded form, or decode them back to readable text.
Popular in this group
Switch tools without re-entering your text.
About this tool
URL Encoder and Decoder — URL encoding represents bytes as percent signs followed by hexadecimal values. It is especially important for query parameter values that contain spaces, ampersands, equals signs, or non-Latin text.
Encode only the component you intend to place inside a URL. Encoding an entire URL with component-level rules can also encode separators such as : / ? and =.
How to use it
- Paste a value or encoded component.
- Choose Encode or Decode.
- Place the result in the correct URL component and test the final link.
Example
city=Jeddah & note=مرحبا
city%3DJeddah%20%26%20note%3D%D9%85%D8%B1%D8%AD%D8%A8%D8%A7
Encode the value for the URL component you are building, not blindly the whole address.
Common uses
- Prepare query parameter values.
- Inspect encoded redirects or callback data.
- Decode copied links during debugging.
What to know
- Percent-encoding does not validate whether a URL is safe or trustworthy.
- Repeatedly encoding an already encoded value produces double encoding.
Privacy: Encoding and decoding run locally in your browser.
Frequently Asked Questions
Should I encode a full URL or only a parameter value?+
Usually encode individual parameter values. Full URLs contain structural characters that often need to remain unchanged.
Why is a space shown as %20 or +?+
Percent-encoding uses %20. Form encoding often uses + for spaces in query data.
Can decoding fail?+
Yes. Incomplete percent sequences or invalid UTF-8 byte sequences can cause errors.