URL encoder / decoder
Encode or decode URL components, whole URLs, and form values with direction controls and live output.
How it works & useful details
How to use this tool
Choose the URL mode, paste your text, and use Swap to reverse the conversion.
Details and limits
Component mode follows encodeURIComponent/decodeURIComponent. Whole URL mode follows encodeURI/decodeURI and preserves reserved separators; it is not a URL validator. Form mode converts spaces to + and decodes + as a space. A literal plus is encoded as %2B in component/form mode.
UTF-8 percent escapes must be complete and valid. Up to 100,000 input code units; live preview up to 8,000.
