Developer tools

URL encoder and decoder

Encode or decode URL text, and split a URL into its parts and query parameters.

Runs in your browser. Nothing you enter is uploaded.

About this tool

The URL encoder percent-encodes text for use in a URL and decodes it back. Encode escapes every reserved character, which suits a single query value, while encoding a full URL keeps characters like :, /, ? and & intact. When the input is a valid URL, it is also split into protocol, host, path, hash and query parameters.

Which encode button should I use?
Use Encode for a value that goes inside a URL, such as a query parameter, because it also escapes & and =. Use the full URL option when you have a whole address with spaces or non-ASCII characters in it.
Does decoding turn + into a space?
No, the decode button only replaces %XX sequences and leaves + as it is. The query parameter table follows form encoding, so a + there is shown as a space.