About This Tool
Standard RFC 3986 URL encoder and decoder for query strings, URI components, and special characters.
1 How to Use Step-by-Step
1. Enter a URL or query string.
2. Click URL Encode or URL Decode.
3. Copy the sanitized result.
Practical Examples
Input: 'https://example.com/search?q=ai tools & tips'
Encoded: 'https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dai%20tools%20%26%20tips'
Common Use Cases
• Building query strings for web APIs
• Sanitizing redirect parameters
• Fixing broken links with unencoded characters
Common Pitfalls & Mistakes
• Encoding an entire URL instead of just the query parameter values
Frequently Asked Questions
What standard is used?
Standard JavaScript encodeURIComponent and decodeURIComponent with UTF-8 compliance.