URL Encoder & Decoder
Securely encode and decode URLs and URI components. Supports RFC 3986 standard for safe web transmission.
Standard Text
Configuration
Encoded Result
Output will appear here instantly...
What is URL Encoding?
%20), and special symbols like ?, &, and = which have specific meanings in URL structures. RFC 3986 Standards
Safe vs Full URL
Component Mode: Safely encodes every special character. Use this for query parameters.
Full Mode: Keeps http:// and / intact while encoding other characters.
Common Encoding Cheat Sheet
| Character | Encoded (Hex) | Description |
|---|---|---|
| Space | %20 | Commonly used to separate words in queries. |
| & | %26 | Parameter separator in URLs. |
| ? | %3F | Starts the query string. |
| = | %3D | Used for key-value pairs. |
| / | %2F | Path separator. |
Frequently Asked Questions
1. When should I use encodeURIComponent?
You should use encodeURIComponent when you are encoding a single piece of a URL, like the value of a search parameter. It encodes characters like /, ?, and & which would otherwise break the URL structure.
2. Does this tool store my data?
Absolutely not. This tool runs entirely in your browser using JavaScript. Your text and URLs never leave your computer and are never sent to our servers.
3. Why do my encoded URLs have % symbols?
The % symbol is the escape character used in percent-encoding. It is followed by a two-digit hexadecimal representation of the character's ASCII value.