Malformed percent-encoding
100%- Why:
- A literal % not followed by two hex digits. Percent starts an escape sequence, so it cannot appear on its own.
- Fix:
- Encode a literal percent sign as %25.
Encoding & Conversion
Encode text for safe use in a URL, or decode percent-encoded text back to readable form. Choose component mode for a single query value, or URI mode for a whole URL.
This tool runs entirely in your browser. Your input is never uploaded, stored or logged.
Percent-encoding replaces a byte with a % followed by its two hex digits. Non-ASCII characters are converted to UTF-8 first and each byte encoded separately, which is why a single accented character becomes two escapes and an emoji becomes four.
The two modes differ only in which characters they consider reserved. Component mode escapes the delimiters — / ? : @ & = + $ and # — because inside a query value those characters would otherwise end the value and start something else. URI mode leaves them alone so a complete URL survives intact.
Choosing the wrong mode is the usual cause of a broken link. Encoding a whole URL in component mode turns https://example.com into https%3A%2F%2Fexample.com, which is correct if that URL is a parameter of another URL and wrong if it is the URL you meant to visit.
Every example below is run against this tool in our test suite, so what it says here is what the tool actually does.
100%%E0%A4Last updated