URL Encode / Decode
Percent-encode or decode URL component text.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: This utility handles URL components, not complete URL normalization.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use URL Encode / Decode
Choose “Encode component” or “Decode component”.
Paste the text or the percent-encoded value.
Press “URL-encode” or “URL-decode”, then copy the result.
About this tool
URL encoding (percent-encoding) replaces spaces and reserved characters such as &, ? and / with codes like %20, so a value can sit safely inside a query string or path segment.
Use it for one component at a time, such as a search term or a parameter value. To take a whole address apart, use the URL Inspector.
Questions
- Is a space encoded as %20 or +?
- This tool uses %20, the encoding for URL components. A + only means a space inside HTML form data.

