Tools / URL encoder
URL encoder / decoder
Encode or decode URL text locally. Choose component mode for a query value or path segment; choose full URL mode to preserve URL separators.
More free checks
Run a full security scan or speed test on your site, or try a related tool.
Related free tools
When to use each mode
- Component: encodes reserved characters, so use it for one query parameter value or path segment.
- Full URL: keeps URL structure characters intact and encodes spaces and non-ASCII characters.
- Processing happens in this page; your input is not sent to Qcramai.
How to use it
- Choose URL component when you are encoding a single value, such as a search term or a redirect target that goes inside a query string.
- Choose Full URL when you have a complete address with spaces or non-English characters and want it to stay a working link.
- Paste the text and press Encode or Decode, then copy the result.
Examples
hello world & morein component mode becomeshello%20world%20%26%20more, so the&is not mistaken for the start of a new parameter.https://example.com/search?q=caféin full URL mode keeps:,/and?and encodes only theé.- Decoding
%E2%9C%93gives✓: non-ASCII characters are encoded as UTF-8 bytes.
Frequently asked questions
What is the difference between the two modes?
Component mode (JavaScript’s encodeURIComponent) also encodes the characters that give a URL its structure, such as / ? & = #. Full URL mode (encodeURI) leaves those alone. Encoding a whole URL in component mode turns it into one long value, which is what you want only when that URL is itself a parameter.
Why is a space encoded as %20 and not +?
%20 is the standard percent-encoding of a space and is valid anywhere in a URL. The + form comes from HTML form submissions and means a space only inside a query string.
Why does decoding show an error?
The input contains a % that is not followed by two hexadecimal digits, or a byte sequence that is not valid UTF-8. Check for a literal percent sign that should have been encoded as %25.
Is my input sent anywhere?
No. Encoding and decoding run in your browser, so tokens or personal data in a URL are not sent to Qcramai.