Encode and decode URLs
Encode a parameter value or a complete URL with the right separators preserved. Choose a mode, inspect the result, then copy or download TXT.
Enter text to encode or decode
Parameter value
Choose Component to encode & and = inside one value.
Assembled URL
Choose Full URL to keep separators such as /, ?, & and =.
How to encode or decode a URL
Choose what you need to process
Use Component for one parameter value and Full URL for an assembled link. Then choose Encode or Decode.
Paste text into the input
The result updates as you type. Strict RFC 3986 applies only to Component encoding; Treat + as space applies only to Component decoding.
Check, then copy or download
Check separators and special characters before use. Copy, download TXT, or move the result back to the input for the reverse action.
Choose the mode for your task
Encode individual values before assembling a URL. If a link already contains separators, use Full URL to preserve its structure.
| Task | Choose | Check the result |
|---|---|---|
| One value contains a&b | Component → Encode | a%26b keeps & inside one value. |
| URL already has ?q= and & | Full URL → Encode | The /, ?, & and = separators remain in place. |
| Form value uses + for spaces | Component → Decode; turn on “Treat + as space” | hello+world → hello world |
If the result is unexpected
- Separators turned into %XX
- You may have encoded an entire link in Component mode. Choose Full URL; encode a parameter value containing & separately before assembling the link.
- Decoding shows an error
- Check that each % has two hexadecimal digits and that the %XX sequences form valid UTF-8.
- + stayed as a plus sign
- Turn on “Treat + as space” only when decoding a form value in Component mode. A + in Full URL mode is not changed automatically.
- Special characters remain in the URL
- Full URL mode preserves syntax separators. If the character belongs to a parameter value, encode that value with Component first.
Data and limits
This tool processes your input with JavaScript in your browser. Percent encoding changes how characters are represented; recipients can decode them. Do not put passwords or secret tokens in a URL just because the text has been encoded.
Comments & feedback
Loading ratings…
Write a commentNo account needed