URL Encode/Decode
Encode and decode URL components instantly
How to Use URL Encode/Decode
Encode special characters for safe use in URLs, or decode percent-encoded strings back to readable text. Essential for web development and API work.
- 1
Choose Encode or Decode
Select the Encode tab to percent-encode text, or the Decode tab to convert encoded URLs back to readable text.
- 2
Paste your URL or text
Enter the URL component or text you want to convert. Results appear instantly as you type.
- 3
Copy and use
Click Copy to grab the result. Use encoded strings in query parameters, form data, or API requests.
Frequently Asked Questions
What is URL encoding?
URL encoding replaces special characters with percent-encoded values (e.g., space becomes %20) so they can be safely transmitted in URLs.
When should I URL encode?
URL encode when passing special characters in query parameters, form data, or any part of a URL that may contain reserved characters.
What's the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URI preserving special URL characters, while encodeURIComponent encodes individual components including reserved characters.
Is this tool free?
Yes, completely free with no signup required. All processing happens in your browser.