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?
URL encoding, also known as Percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI). Characters that are not allowed in a URL must be encoded. This includes spaces (which become %20), and special symbols like ?, &, and = which have specific meanings in URL structures.
RFC 3986 Standards
Our tool follows the latest RFC 3986 standards for URI encoding. This ensures that your data is transmitted safely across different web servers and browsers without being misinterpreted.
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
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.
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.
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.