Developer tool
Encode or Decode URL Components
Encode text for a URL component or decode percent-encoded text using browser URL functions.
Runs locally in your browser
Your text is not uploaded.
Simple steps
How it works
- 01
Enter a URL value or encoded component.
- 02
Choose Encode or Decode.
- 03
Copy the converted value.
Good to know
Frequently asked questions
Which encoding is used?
The tool uses JavaScript encodeURIComponent and decodeURIComponent for URL components.
Does this encode a complete URL?
It encodes a component value. Do not apply it to an entire URL with separators you need to preserve.
What happens to malformed percent escapes?
Decode errors are reported clearly instead of silently changing the value.
Are query parameters sent anywhere?
No. URL conversion runs locally in your browser.
Are spaces converted to plus signs?
No. Component encoding uses percent escapes; form encoding has different space rules.