What URL encoding is
URLs may only contain a limited set of characters. Everything else — spaces, most punctuation, non-ASCII letters — has to be written as a percent sign followed by two hexadecimal digits of its UTF-8 bytes. A space becomes %20, an ampersand becomes %26, and é becomes %C3%A9. This is called percent-encoding, and it is how browsers and servers exchange arbitrary text inside an address.
Component vs full URI
The right mode depends on what you are encoding. Component encodes a single piece — a query-string value, a path segment, a form field — and escapes the reserved characters & = ? / # : + as well, so they cannot break the URL structure. Full URI encodes a complete address and deliberately leaves those structural characters alone, so https://example.com/a?b=c stays usable. If you are building ?q=…, use component; if you are cleaning up a whole link, use full URI.
How to use this tool
- Paste the text or URL on the left.
- Pick Component or Full URI, then Encode or Decode.
- Decoding also turns
+into a space, matching how form data is submitted.
Common pitfalls
- Encoding a whole URL in component mode will escape the
://and?, breaking the link. Use full URI for that. - Double-encoding (
%2520instead of%20) happens when you encode an already-encoded string. Decode once first. - Non-ASCII characters produce several
%xxpairs because UTF-8 uses multiple bytes per character.
Examples
Frequently asked questions
What is the difference between URL encode component and full URI?
Why does a space sometimes become + and sometimes %20?
Why does one accented letter become several %xx pairs?
Is anything sent to a server?
Related tools
Every tool on encoder.website converts your text and hands the result straight back — it is never stored. Pick another tool from the sidebar any time.