URL Encoder & Decoder
Convert unsafe URL query parameters and query strings to percent-encoded formats, or decode percent-encoded URLs back to readable text.
Your inputs are calculated locally in your browser. No personal data is sent across the network.
Mode:
How to use this tool
1Step 1
Choose Encode or Decode mode.
2Step 2
Select encodeURIComponent (parameters) or encodeURI (full URL).
3Step 3
Enter text to view the live result.
Frequently asked questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves protocol characters like http:// and ?, while encodeURIComponent encodes everything except standard letters and digits.