What is URL encoding?
Percent encoding replaces characters that may be special in a URL with a percent sign followed by hexadecimal bytes. For example, a space becomes %20, and an ampersand becomes %26.
Example: one query value
Hello world & more! → Hello%20world%20%26%20more!
This converter uses JavaScript's encodeURIComponent and decodeURIComponent. It is intended for individual components such as search terms or parameter values, not for an entire URL including https://, slashes or delimiters.
Frequently asked questions
Does it turn spaces into plus signs?
No. It uses %20 for spaces. HTML form-encoded query parameters may instead represent spaces with +; this tool does not automatically treat plus signs as spaces.
What happens with malformed input?
Invalid percent escape sequences produce an error message rather than a guessed result.
Explore more tools
Quick, free utilities that run on your device — without an account.
Browse all tools →