How to use the URL Encoder / Decoder
- Paste the text or URL.
- Choose Component (for a single query value) or Full URL mode.
- Click Encode or Decode and copy the result.
About this tool
URLs can only contain certain characters. Spaces, accents and symbols such as & or ? must be percent-encoded, for example a space becomes %20.
Component mode encodes everything that is not safe inside a single query value. Full URL mode leaves characters like :, / and ? alone so the link still works.
Frequently asked questions
Should spaces be %20 or +?
Both appear in practice. %20 works everywhere; + only means a space inside form-style query strings.
Which mode should I use?
Use Component for a value you are putting after = in a query string, and Full URL for a whole link.
Why did decoding fail?
The text contains a % that is not followed by two hex digits, so it is not valid percent-encoding.