Overview
The URL Encoder/Decoder converts text to and from URL-safe percent-encoding format, supporting both full URL encoding and component-only encoding. It also provides Base64 encoding/decoding in the same interface and includes a URL parser that breaks any URL into its constituent parts: protocol, host, port, path, query parameters, and fragment.
How to Use
In the Encode tab, paste any text or URL and click Encode to convert special characters to %XX format. The Encode Component option encodes only special characters within a URL segment (preserving characters like / and ?). In the Decode tab, paste a percent-encoded string to restore the original text. Switch to the Base64 tab for base64 encode/decode. In the Parse tab, enter a full URL to see it broken into labeled components, with query string parameters listed as individual key-value pairs.
Background & Context
URL encoding (also called percent-encoding) was defined in RFC 3986. It replaces unsafe characters with a percent sign followed by two hexadecimal digits representing the character’s byte value. For example, a space becomes %20, and an ampersand becomes %26. URLs can only be transmitted over the internet using the ASCII character set — percent-encoding allows Unicode characters to be safely represented. The difference between encodeURI() and encodeURIComponent() in JavaScript reflects the two modes this tool provides.




