URL Encoder & Decoder
Encode special characters in URLs for safe transmission, or decode them back to plain text. Fast, free, and fully client-side. Nothing is uploaded to a server.
How the URL Encoder & Decoder Works
Percent-encodes a URL or query string for safe transmission, or decodes percent-encoded text back to readable characters. With Component Mode on, every reserved character is encoded, which suits a single query value. With it off, the URL structure characters are kept so a full address stays intact. Processing happens in your browser and the text is not uploaded.
Usage Example
Encode a search phrase with spaces and ampersands before appending it as a query parameter to a link you are building.
Frequently Asked Questions
When should I turn off Component Mode?
Turn it off when you are encoding a whole address and want characters such as slashes, question marks, and ampersands left alone. Keep it on when the text is a single value, because those reserved characters would otherwise break the query.
What does Component Mode change in the output?
In strict mode the tool uses component encoding, which escapes reserved characters like slash, colon, question mark, and ampersand. In relaxed mode those characters pass through, so the same input produces a shorter output that still works as a full URL.
Why does decoding sometimes fail or leave characters unchanged?
Decoding reverses percent sequences only, so plain text without encoding is returned as is. The decoder matches the component setting: a value encoded in strict mode should be decoded in strict mode, or reserved characters can come back wrong.
