How to use the URL encoder and decoder
The three modes behave like the standard JavaScript functions, so results match what code produces.
- Paste your text or address into the Input box.
- Choose a Mode. Encode (component) is the default and suits one value, such as a search term. Encode (full URL) suits a complete address. Decode turns percent sequences back into text.
- When decoding, leave Treat + as space when decoding ticked for data from web forms, or untick it if plus signs are real plus signs.
- Read the output. If the percent sequences are broken, the note says Malformed percent-encoding and the output stays empty.
- Press Copy, Download .txt or Use as input.
Component mode is encodeURIComponent, full URL mode is encodeURI and decoding is decodeURIComponent. All three run on your device, so private addresses and tokens are not sent anywhere.