URL encoder and decoder
Pick “Value” for a single parameter (everything is encoded), or “Full URL” to keep : / ? & =. Nothing is opened or sent.
Result
caf%C3%A9%20%26%20th%C3%A9%20%3D%205%E2%82%ACEncoded text
- Result length
- 45
Inputs
- Action
- Encode
- What you encode
- A value (encodeURIComponent)
- Text or URL
- café & thé = 5€
How it is calculated
Each character is turned into UTF-8 bytes, then each byte into %XX (hex). e.g. space = %20, é = %C3%A9.
Result
Encoded text
- Result length
- 45
How it is calculated
- Each character is turned into UTF-8 bytes, then each byte into %XX (hex). e.g. space = %20, é = %C3%A9.
- Value: letters, digits and - _ . ! ~ * ' ( ) stay as they are; everything else is encoded.
- Full URL: the separators ; , / ? : @ & = + $ # are kept too.
Example
“café & thé = 5€” as a value gives caf%C3%A9%20%26%20th%C3%A9%20%3D%205%E2%82%AC.
Good to know
- No page is loaded: the tool does not check that the URL exists.
- A form “+” is not read as a space when decoding.
Frequently asked questions
What is this tool used for?
Pick “Value” for a single parameter (everything is encoded), or “Full URL” to keep : / ? & =. Nothing is opened or sent.
How is the result calculated?
Each character is turned into UTF-8 bytes, then each byte into %XX (hex). e.g. space = %20, é = %C3%A9.
What should I check before using the result?
No page is loaded: the tool does not check that the URL exists.