URL Encoder & Decoder
Encode text for use in URLs or decode percent-encoded text.
Encode and Decode URLs Online
URL encoding, also called percent encoding, converts characters that may have special meaning inside a URL into a safe format.
What does URL encoding do?
Characters such as spaces, ampersands, question marks and Unicode text may need to be encoded when they are used as URL parameters or other URL components.
Example
The text Hello world! becomes Hello%20world! when encoded.
UTF-8 support
Unicode text, including accented characters and emoji, is encoded using the browser's standard UTF-8 URL encoding behavior.
Private browser-based processing
Encoding and decoding happen locally in your browser. Your text does not need to be uploaded to HandyKitz.
Practical example
Encode a parameter value before putting it inside a URL. Encoding a whole address as one component also encodes separators such as slashes and question marks.
The value red & blue becomes red%20%26%20blue. The encoded ampersand stays part of the value instead of separating query parameters.
Frequently asked questions
Should I encode a complete URL as one value?
The tool uses encodeURIComponent, which also encodes URL separators. Encode a parameter value rather than a complete navigable URL unless that URL is itself a parameter.
Why does decoding leave a plus sign unchanged?
decodeURIComponent does not interpret + as a space. In form-encoded input, spaces may use +; handle that convention separately.
Why does %2520 decode to %20 instead of a space?
Decoding performs one pass. The percent sign was encoded twice; decode again only if another encoding layer was intended.