A URL encoder / decoder converts text to and from percent-encoded format required for safe transmission in URLs. Special characters like spaces, ampersands, and quotes must be encoded before they can appear in query strings, path segments, or other URL components. This tool also shows a character-by-character breakdown of exactly which characters were encoded and why.