URL Encoder
Encode query values safely or decode percent-encoded strings. Uses standard URI component rules.
URL encode / decode
Percent-encode query values or decode encoded URL components.
How this URL encoder treats the whole box
Encode runs encodeURIComponent on the entire input. It does not look for a query string and encode only the value. https://getfixmyfile.com/tools?q=hello world becomes https%3A%2F%2Fgetfixmyfile.com%2Ftools%3Fq%3Dhello%20world. That is what you want when the whole string is one query parameter. It is the wrong button when you only needed the space in "hello world" turned into %20 and the https:// left alone. For that, paste just the value, encode it, and put the result back into the URL yourself.
Decode uses decodeURIComponent after replacing each + with %20, so application/x-www-form-urlencoded plus signs become spaces. A bare % or a % that is not followed by two hex digits throws. %20 decodes to a space. %2520 decodes once to %20, not to a space: that is a double-encoded value, and you have to decode again. Encoding an already encoded string encodes the % signs, which is how %20 becomes %2520.
Reserved characters are escaped on purpose. encodeURIComponent encodes &, =, ?, #, /, and spaces. Do not use the result as a full address bar URL. Use it as a component. The sample in the box is a full URL so you can see that difference immediately.
How to use it
- Choose Encode or Decode before you run. The mode is not detected from the text.
- To encode one parameter, paste only that parameter, not the whole address.
- Press Encode or Decode. An invalid % sequence shows the error and clears the output.
- Copy the output into the portal field. Decode once, check the text, and decode again only if you still see %20.
The text stays in this browser tab. GetFixMyFile does not upload it, store it, or include it in analytics.
Questions
Why did my https:// link break?
Does a plus sign mean a space?
What is double encoding?
Frequently Asked Questions
Related tools
More tools in the same category.